From 547ed270e740c64b4bf9cecdb27fb640914afc36 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Thu, 9 Nov 2023 13:37:28 -0500 Subject: [PATCH] make use of action_spinner * doesn't require upstream PR, but won't have any affect without it --- lcviz/plugins/binning/binning.vue | 1 + lcviz/plugins/flatten/flatten.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lcviz/plugins/binning/binning.vue b/lcviz/plugins/binning/binning.vue index a3109573..c280da46 100644 --- a/lcviz/plugins/binning/binning.vue +++ b/lcviz/plugins/binning/binning.vue @@ -87,6 +87,7 @@ action_label="Bin" action_tooltip="Bin data" :action_disabled="!bin_enabled" + :action_spinner="spinner" @click:action="apply" > diff --git a/lcviz/plugins/flatten/flatten.vue b/lcviz/plugins/flatten/flatten.vue index e2e4fee5..b0e503a9 100644 --- a/lcviz/plugins/flatten/flatten.vue +++ b/lcviz/plugins/flatten/flatten.vue @@ -167,7 +167,8 @@ :add_to_viewer_selected.sync="add_to_viewer_selected" action_label="Flatten" action_tooltip="Flatten data" - :action_disabled="flatten_err.length > 0 || spinner" + :action_disabled="flatten_err.length > 0" + :action_spinner="spinner" @click:action="apply" >