replace toSorted with sort, add artist credit
This commit is contained in:
parent
7550b8cbd2
commit
05577aea54
3 changed files with 17 additions and 5 deletions
|
|
@ -80,6 +80,7 @@ const persistedStateOptions = {
|
|||
}
|
||||
document.querySelector('#status').removeAttribute('class')
|
||||
document.querySelector('#status').textContent = i18n.global.t('splash.loading')
|
||||
document.querySelector('#splash-credit').textContent = i18n.global.t('update.art_by', { linkToArtist: 'pipivovott' })
|
||||
const store = createStore({
|
||||
modules: {
|
||||
i18n: {
|
||||
|
|
|
|||
|
|
@ -196,11 +196,6 @@ export const init = ({
|
|||
return rule
|
||||
})
|
||||
|
||||
const i = 4
|
||||
if (2 + 2 === i) {
|
||||
throw new Error('test')
|
||||
}
|
||||
|
||||
const ruleset = rulesetUnsorted
|
||||
.map((data, index) => ({ data, index }))
|
||||
.sort(({ data: a, index: ai }, { data: b, index: bi }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue