File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
electron_app/src/components Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1616 <div @click =" toggle_order()" style =" float :right ; margin-bottom : 20px ;" class =" l_button" >
1717 {{this.app_state.show_history_in_oldest_first ? "Oldest": "Newest"}} First
1818 </div >
19+ <div @click =" clear_history()" style =" float :right ; margin-bottom : 20px ;" class =" l_button" >
20+ Clear History
21+ </div >
1922 <div v-if =" Object.values(app_state.app_data.history).length > 0" >
2023 <div v-for =" history_box in get_history()" :key =" history_box.key" style =" clear : both ;" >
2124
@@ -132,6 +135,10 @@ export default {
132135 return r;
133136 },
134137
138+ clear_history (){
139+ Vue .set ( this .app_state .app_data , " history" , {});
140+ },
141+
135142 share_on_arthub (box ){
136143 this .app_state .global_loader_modal_msg = " Uploading" ;
137144 let params = this .get_box_params_dict (box);
You can’t perform that action at this time.
0 commit comments