diff --git a/src/components/panels/Settings/DashboardPanel.vue b/src/components/panels/Settings/DashboardPanel.vue
index 8217a50f..7a2649eb 100644
--- a/src/components/panels/Settings/DashboardPanel.vue
+++ b/src/components/panels/Settings/DashboardPanel.vue
@@ -1,3 +1,8 @@
+
@@ -8,20 +13,20 @@
-
+
-
+
-
+
-
+
diff --git a/src/store/getters.js b/src/store/getters.js
index 9d7cd4b7..d2306741 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -166,12 +166,12 @@ export default {
getAllMacros: state => {
let array = [];
- for (let prop in state.config) {
+ for (let prop in state.printer.configfile.config) {
if (prop.startsWith('gcode_macro') &&
- !Object.hasOwnProperty.call(state.config[prop], 'rename_existing')) {
+ !Object.hasOwnProperty.call(state.printer.configfile.config[prop], 'rename_existing')) {
array.push({
'name': prop.replace('gcode_macro ', ''),
- 'prop': state.config[prop]
+ 'prop': state.printer.configfile.config[prop]
});
}
}