var t = `
$emit('finder-open', ...args)" />
$emit('version-check', ...args)" :versionCheck=versionCheck />
`
import KeyBinds from './settings-keybinds.js'
import Editor from './settings-editor.js'
import About from './settings-about.js'
import Stats from './settings-stats.js'
export default {
components: { KeyBinds, Editor, About, Stats },
props: ['versionCheck'],
emits: ['settings-close', 'version-check', 'finder-open'],
data() {
return {
active: 'keybinds',
sections: [
['keybinds', 'Key Bindings'],
['editor', 'Editor'],
['stats', 'Statistics'],
['about', 'About'],
],
}
},
created() {
if (this.versionCheck.comparison == '-1') this.active = 'about';
},
template: t
}