@@ -35,7 +134,7 @@ export default {
},
methods: {
toggleMenu(event, index) {
- this.activeMenuIndex = index;
+ this.activeMenuIndex = (this.activeMenuIndex === index) ? null : index;
}
}
}
diff --git a/src/assets/images/menu/charts-active.svg b/src/assets/images/menu/charts-active.svg
index c4aa690b8..d31e2b1d4 100644
--- a/src/assets/images/menu/charts-active.svg
+++ b/src/assets/images/menu/charts-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/data-active.svg b/src/assets/images/menu/data-active.svg
index bc3c052b6..b3b5a1cf7 100644
--- a/src/assets/images/menu/data-active.svg
+++ b/src/assets/images/menu/data-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/dragdrop-active.svg b/src/assets/images/menu/dragdrop-active.svg
index b766b70ce..d6d1f6779 100644
--- a/src/assets/images/menu/dragdrop-active.svg
+++ b/src/assets/images/menu/dragdrop-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/file-active.svg b/src/assets/images/menu/file-active.svg
index ca6bbf261..d6ebc0aa4 100644
--- a/src/assets/images/menu/file-active.svg
+++ b/src/assets/images/menu/file-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/menu-active.svg b/src/assets/images/menu/menu-active.svg
index 3affb21c0..abd5f9ded 100644
--- a/src/assets/images/menu/menu-active.svg
+++ b/src/assets/images/menu/menu-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/message-active.svg b/src/assets/images/menu/message-active.svg
index d084333a3..1e457109a 100644
--- a/src/assets/images/menu/message-active.svg
+++ b/src/assets/images/menu/message-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/misc-active.svg b/src/assets/images/menu/misc-active.svg
index 38759ad80..10353c908 100644
--- a/src/assets/images/menu/misc-active.svg
+++ b/src/assets/images/menu/misc-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/multimedia-active.svg b/src/assets/images/menu/multimedia-active.svg
index 0b0cb8ff7..d2932f5e0 100644
--- a/src/assets/images/menu/multimedia-active.svg
+++ b/src/assets/images/menu/multimedia-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/multimedia.svg b/src/assets/images/menu/multimedia.svg
index cf034dc32..d2932f5e0 100644
--- a/src/assets/images/menu/multimedia.svg
+++ b/src/assets/images/menu/multimedia.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/overlay-active.svg b/src/assets/images/menu/overlay-active.svg
index 8bb12a359..e859d4fed 100644
--- a/src/assets/images/menu/overlay-active.svg
+++ b/src/assets/images/menu/overlay-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/assets/images/menu/panel-active.svg b/src/assets/images/menu/panel-active.svg
index 61f26d5ff..dfddf71d3 100644
--- a/src/assets/images/menu/panel-active.svg
+++ b/src/assets/images/menu/panel-active.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file