Skip to content

Commit fd3cfdf

Browse files
- FIX: Fixed build errors.
1 parent c376f42 commit fd3cfdf

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/components.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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']

src/components/data/PlotCanvas.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@
820820
821821
let counter = 0
822822
// Define an update interval
823+
// @ts-ignore
823824
flingInterval = setInterval(() => {
824825
// Run 25 iterations
825826
if (counter++ < 25) {

src/stores/app.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)