From c45644d1c135f0b997770d44ccfa0e8e18a1dc8e Mon Sep 17 00:00:00 2001 From: Teisha McRae Date: Mon, 26 Aug 2024 16:54:22 -0400 Subject: [PATCH] Add Templates button to options menu --- resources/js/processes/screen-builder/screen.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/js/processes/screen-builder/screen.vue b/resources/js/processes/screen-builder/screen.vue index 11d6a96274..2c34d6a2da 100644 --- a/resources/js/processes/screen-builder/screen.vue +++ b/resources/js/processes/screen-builder/screen.vue @@ -475,6 +475,15 @@ export default { icon: "fas fa-redo", action: "redoAction()", }, + { + id: "button_templates", + type: "button", + title: this.$t("Screen Templates"), + name: this.$t("Templates"), + variant: "link", + icon: "fas fa-palette", + action: "openTemplatesPanel()", + }, { id: "button_calcs", type: "button", @@ -1017,6 +1026,9 @@ export default { redoAction() { this.$refs.builder.redo(); }, + openTemplatesPanel() { + console.log('HIT OPEN TEMPLATE PANEL'); + }, openComputedProperties() { this.$refs.computedProperties.show(); },