Skip to content

Commit

Permalink
Move loading flag for spreadsheet import wizard to volatile to avoid …
Browse files Browse the repository at this point in the history
…an error persisting across refresh (#1524)
  • Loading branch information
cmdcolin authored Dec 3, 2020
1 parent e81b482 commit 8e2be5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default (pluginManager: PluginManager) => {
return types
.model('SpreadsheetImportWizard', {
fileType: types.optional(types.enumeration(fileTypes), 'CSV'),
loading: false,
hasColumnNameLine: true,
columnNameLineNumber: 1,
selectedAssemblyIdx: 0,
Expand All @@ -43,6 +42,7 @@ export default (pluginManager: PluginManager) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fileSource: undefined as any,
error: undefined as Error | undefined,
loading: false,
}))
.views(self => ({
get isReadyToOpen() {
Expand Down

0 comments on commit 8e2be5d

Please sign in to comment.