diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 0b47abde8093e..e6ace50e8f672 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -75,6 +75,7 @@ var i18nPlaceholders = { 'will not be saved.', 'genericFilterReadError': '# Could not load data, please refresh.', 'genericDataSaveError': 'Could not save data, please try again.', + 'genericNothingToExport': 'Nothing to export.', 'nanoCloudNoData': 'No cloud data', diff --git a/src/js/nano-dashboard-rules.js b/src/js/nano-dashboard-rules.js index 2152a56c4ba53..963d00325cd67 100644 --- a/src/js/nano-dashboard-rules.js +++ b/src/js/nano-dashboard-rules.js @@ -304,6 +304,7 @@ window.tabRules = new class tabRules extends Tab { const val = this.editor.getValue(); if (val.trim() === "") { + showInfoModal(vAPI.i18n("genericNothingToExport")); return; }