diff options
Diffstat (limited to 'app/assets/javascripts/integrations/edit/store/getters.js')
-rw-r--r-- | app/assets/javascripts/integrations/edit/store/getters.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/integrations/edit/store/getters.js b/app/assets/javascripts/integrations/edit/store/getters.js index b68bd668980..4b494c30845 100644 --- a/app/assets/javascripts/integrations/edit/store/getters.js +++ b/app/assets/javascripts/integrations/edit/store/getters.js @@ -1,5 +1,7 @@ export const isInheriting = state => (state.adminState === null ? false : !state.override); +export const isSavingOrTesting = state => state.isSaving || state.isTesting; + export const propsSource = (state, getters) => getters.isInheriting ? state.adminState : state.customState; |