finxing macros

This commit is contained in:
sanjayk03-dev
2024-01-28 21:07:11 +05:30
parent d791aaaf1b
commit 0f6abc28a0
5 changed files with 12 additions and 4 deletions

View File

@@ -280,6 +280,10 @@ module.exports = {
this.$dispatch("send", msg);
},
getMacros: function(){
return this.config.macros;
},
load: function () {
const file_time = this.state.selected_time;
const file = this.state.selected;

View File

@@ -40,6 +40,9 @@ module.exports = {
macrosList: function () {
return this.config.macrosList.map(el => el.file_name);
},
getMacros: function(){
return this.config.macros;
},
getMacrosColor: function () {
return this.config.macros[this.tab]["color"];
},