File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ declare module 'vue' {
1919 ColumnHeader : typeof import ( './components/data/ColumnHeader.vue' ) [ 'default' ]
2020 CommentModal : typeof import ( './components/modals/CommentModal.vue' ) [ 'default' ]
2121 ConfirmModal : typeof import ( './components/modals/ConfirmModal.vue' ) [ 'default' ]
22- copy : typeof import ( './components/modals/TraitImportFromBrapiModal copy.vue' ) [ 'default' ]
2322 CornerPointsMap : typeof import ( './components/setup/CornerPointsMap.vue' ) [ 'default' ]
2423 DataCanvas : typeof import ( './components/data/DataCanvas.vue' ) [ 'default' ]
2524 DataEntryActions : typeof import ( './components/modals/DataEntryActions.vue' ) [ 'default' ]
Original file line number Diff line number Diff line change 820820
821821 let counter = 0
822822 // Define an update interval
823+ // @ts-ignore
823824 flingInterval = setInterval (() => {
824825 // Run 25 iterations
825826 if (counter ++ < 25 ) {
Original file line number Diff line number Diff line change @@ -206,17 +206,17 @@ export const coreStore = defineStore('core', {
206206 const trial = await getTrialById ( newSelectedTrial )
207207 ensureTraitImagesCached ( trial )
208208 if ( trial . brapiConfig ) {
209- this . brapiConfig = Object . assign ( { url : null , token : null } , JSON . parse ( JSON . stringify ( trial . brapiConfig ) ) )
209+ this . brapiConfig = Object . assign ( { url : undefined , token : undefined } , JSON . parse ( JSON . stringify ( trial . brapiConfig ) ) )
210210 } else {
211211 this . brapiConfig = {
212- url : null ,
213- token : null ,
212+ url : undefined ,
213+ token : undefined ,
214214 }
215215 }
216216 } else {
217217 this . brapiConfig = {
218- url : null ,
219- token : null ,
218+ url : undefined ,
219+ token : undefined ,
220220 }
221221 }
222222
@@ -306,11 +306,11 @@ export const coreStore = defineStore('core', {
306306 } ,
307307 setBrapiConfig ( newBrapiConfig : BrapiConfig ) {
308308 if ( newBrapiConfig ) {
309- this . brapiConfig = Object . assign ( { url : null , token : null } , JSON . parse ( JSON . stringify ( newBrapiConfig ) ) )
309+ this . brapiConfig = Object . assign ( { url : undefined , token : undefined } , JSON . parse ( JSON . stringify ( newBrapiConfig ) ) )
310310 } else {
311311 this . brapiConfig = {
312- url : null ,
313- token : null ,
312+ url : undefined ,
313+ token : undefined ,
314314 }
315315 }
316316 } ,
You can’t perform that action at this time.
0 commit comments