Skip to content

Commit

Permalink
新キャラ追加時に並び順の初期状態を保存するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Jan 26, 2025
1 parent 40fad6e commit 10dd817
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Dialog/CharacterOrderDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ watch(
...characterOrder.value,
...notIncludesCharacterInfos,
];
// 新しいキャラクターがいる場合は判定を無くすため並び順を保存
if (hasNewCharacter.value) {
saveCharacterOrder(characterOrder.value);
}
}
},
);
Expand Down

0 comments on commit 10dd817

Please sign in to comment.