Skip to content

Commit

Permalink
don't let it override
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Jan 11, 2023
1 parent 1b7590f commit a3b5e79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion javascript/operation_store.js
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down

0 comments on commit a3b5e79

Please sign in to comment.