From 2f101c4a39685bafd0d78ce1a87dce08165f9aaf Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Sun, 14 Apr 2024 17:10:46 -0700 Subject: [PATCH] close #271 --- src/UI/UIWindowPublishWebsite.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index 2ad81682..612fe561 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -109,6 +109,7 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di update_sites_cache(); }).catch((err)=>{ + err = err.error; $(el_window).find('.publish-website-error-msg').html( err.message + ( err.code === 'subdomain_limit_reached' ?