diff --git a/javascript/operation_store.js b/javascript/operation_store.js index c8eac8eb..11342601 100644 --- a/javascript/operation_store.js +++ b/javascript/operation_store.js @@ -1,6 +1,8 @@ import Operations from './operations' -window.CableReadyOperationsStore = Operations +if (!window.CableReadyOperationsStore) { + window.CableReadyOperationsStore = Operations +} const add = newOperations => { window.CableReadyOperationsStore = { ...window.CableReadyOperationsStore, ...newOperations }