changeset 3859:d1901366676a

client: configuration: replaced icon to close colorpicker for classbreaks
author Markus Kottlaender <markus@intevation.de>
date Tue, 09 Jul 2019 14:56:54 +0200
parents 55e503270f38
children 9a7a27301720
files client/src/components/systemconfiguration/MorphologyClassbreaks.vue
diffstat 1 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/MorphologyClassbreaks.vue	Tue Jul 09 14:42:26 2019 +0200
+++ b/client/src/components/systemconfiguration/MorphologyClassbreaks.vue	Tue Jul 09 14:56:54 2019 +0200
@@ -33,7 +33,6 @@
               <UIBoxHeader
                 :title="colorPickerTitle"
                 icon="paint-brush"
-                :closeCallback="() => (activeColorPicker = null)"
                 :actions="[
                   {
                     callback: () => {
@@ -41,6 +40,12 @@
                       activeColorPicker = null;
                     },
                     icon: 'trash'
+                  },
+                  {
+                    callback: () => {
+                      activeColorPicker = null;
+                    },
+                    icon: 'check'
                   }
                 ]"
               />
@@ -114,7 +119,6 @@
               <UIBoxHeader
                 :title="colorPickerTitle"
                 icon="paint-brush"
-                :closeCallback="() => (activeColorPicker = null)"
                 :actions="[
                   {
                     callback: () => {
@@ -122,6 +126,12 @@
                       activeColorPicker = null;
                     },
                     icon: 'trash'
+                  },
+                  {
+                    callback: () => {
+                      activeColorPicker = null;
+                    },
+                    icon: 'check'
                   }
                 ]"
               />