diff --git a/jest.config.js b/jest.config.js index 0f95791..d472a26 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,3 +1,6 @@ module.exports = { - preset: '@vue/cli-plugin-unit-jest' + preset: '@vue/cli-plugin-unit-jest', + moduleNameMapper: { + quasar: "quasar/dist/quasar.umd.min.js" + }, } diff --git a/src/components/FileBar.vue b/src/components/FileBar.vue index 29c14db..56eec8f 100644 --- a/src/components/FileBar.vue +++ b/src/components/FileBar.vue @@ -44,7 +44,7 @@ Script Manager - + Automation Manager @@ -90,7 +90,11 @@ - +
+ + + +
@@ -127,7 +131,8 @@ export default { showAddSiteModal: false, showEditSitesModal: false, showUpdateAgentsModal: false, - showEditCoreSettingsModal: false + showEditCoreSettingsModal: false, + showAutomationManager: false, }; }, methods: { @@ -137,9 +142,6 @@ export default { showScriptManager() { this.$store.commit("TOGGLE_SCRIPT_MANAGER", true); }, - showAutomationManager() { - this.$store.commit("TOGGLE_AUTOMATION_MANAGER", true); - }, edited() { this.$emit("edited"); } diff --git a/src/components/automation/AutomationManager.vue b/src/components/automation/AutomationManager.vue index 74c6cee..3081506 100644 --- a/src/components/automation/AutomationManager.vue +++ b/src/components/automation/AutomationManager.vue @@ -1,99 +1,107 @@ \ No newline at end of file diff --git a/src/components/automation/modals/EditPolicy.vue b/src/components/automation/modals/PolicyForm.vue similarity index 69% rename from src/components/automation/modals/EditPolicy.vue rename to src/components/automation/modals/PolicyForm.vue index 42a1735..b7273b6 100644 --- a/src/components/automation/modals/EditPolicy.vue +++ b/src/components/automation/modals/PolicyForm.vue @@ -1,8 +1,8 @@