poping out selected item

This commit is contained in:
sanjayk03-dev
2024-05-31 17:57:36 +05:30
parent f50ccd3192
commit c63a8cdb36
3 changed files with 10 additions and 9 deletions

View File

@@ -57,6 +57,7 @@ module.exports = {
selected_items_to_delete: [],
search_query: "",
filtered_files: [],
selected_folder_index: null,
};
},
@@ -296,6 +297,7 @@ module.exports = {
},
populateFiles(index) {
this.selected_folder_index = index;
this.filtered_files = this.state.gcode_list[index].files.map(item => item.file_name);
},