mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-26 00:16:51 +00:00
Fix #314 Make 1.19.3 the default version
This commit is contained in:
@@ -3,7 +3,7 @@ import { DRAFT_PROJECT } from './contexts/index.js'
|
||||
import type { ColormapType } from './previews/Colormap.js'
|
||||
import { ColormapTypes } from './previews/Colormap.js'
|
||||
import type { VersionId } from './services/index.js'
|
||||
import { VersionIds } from './services/index.js'
|
||||
import { DEFAULT_VERSION, VersionIds } from './services/index.js'
|
||||
|
||||
export namespace Store {
|
||||
export const ID_LANGUAGE = 'language'
|
||||
@@ -35,7 +35,7 @@ export namespace Store {
|
||||
if (version && VersionIds.includes(version as VersionId)) {
|
||||
return version as VersionId
|
||||
}
|
||||
return '1.19'
|
||||
return DEFAULT_VERSION
|
||||
}
|
||||
|
||||
export function getVersion(): VersionId | null {
|
||||
|
||||
Reference in New Issue
Block a user