From fff89932002d67bf0f121532709c871263e33473 Mon Sep 17 00:00:00 2001
From: KernelDeimos
Date: Mon, 23 Sep 2024 17:55:54 -0400
Subject: [PATCH] fix: error deleting entry from My Websites window
This could not be tested locally due to another but only affecting
self-hosted installations. This will be tested in staging in the
meantime while the other bug is being fixed.
---
src/gui/src/UI/UIWindowMyWebsites.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gui/src/UI/UIWindowMyWebsites.js b/src/gui/src/UI/UIWindowMyWebsites.js
index 33864ad09..6e7716fef 100644
--- a/src/gui/src/UI/UIWindowMyWebsites.js
+++ b/src/gui/src/UI/UIWindowMyWebsites.js
@@ -89,7 +89,7 @@ async function UIWindowMyWebsites(options){
h+= `${html_encode(sites[i].root_dir.path)}`;
h += `
`;
h += ``;
- h += ``;
+ h += ``;
h += `
${i18n('disassociate_dir')}`;
h += `
`;
}
@@ -183,7 +183,7 @@ $(document).on('click', '.mywebsites-dis-dir', function(e){
// dir
$(e.target).attr('data-dir-uuid'),
// hostname
- $(e.target).attr('data-site-uuid'),
+ $(e.target).attr('data-site-subdomain'),
// success
function (){
$(`.mywebsites-no-dir-notice[data-site-uuid="${$(e.target).attr('data-site-uuid')}"]`).show();