Yuki Takei преди 6 години
родител
ревизия
c3b0286958
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/client/js/services/AdminCustomizeContainer.js

+ 4 - 0
src/client/js/services/AdminCustomizeContainer.js

@@ -213,6 +213,10 @@ export default class AdminCustomizeContainer extends Container {
       // get theme asset path
       // get theme asset path
       const response = await this.appContainer.apiv3.get('/customize-setting/layout-theme/asset-path', { themeName });
       const response = await this.appContainer.apiv3.get('/customize-setting/layout-theme/asset-path', { themeName });
       assetPath = response.data.assetPath;
       assetPath = response.data.assetPath;
+    }
+    catch (err) {
+      toastError(err);
+    }
 
 
       const themeLink = document.getElementById('grw-theme-link');
       const themeLink = document.getElementById('grw-theme-link');
       themeLink.setAttribute('href', assetPath);
       themeLink.setAttribute('href', assetPath);