mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Refactor error view and make loot table default
This commit is contained in:
@@ -99,6 +99,9 @@ Promise.all([
|
||||
const treeControlsRedo = document.getElementById('tree-controls-redo')!
|
||||
|
||||
let selected = modelFromPath(location.pathname)
|
||||
if (selected.length === 0) {
|
||||
selected = 'loot-table'
|
||||
}
|
||||
|
||||
const models: { [key: string]: DataModel } = {
|
||||
'loot-table': new DataModel(LootTableSchema),
|
||||
|
||||
Reference in New Issue
Block a user