Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[project-library-manage] ライブラリ管理画面のデータの持ち方などをリファクタリング #1584

Open
wants to merge 13 commits into
base: project-library-manage
Choose a base branch
from
Prev Previous commit
Next Next commit
fix variable name
y-chan committed Sep 28, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit eaa9fb264396a70510f465c233e7d583779756c0
4 changes: 2 additions & 2 deletions src/components/LibraryManageDialog.vue
Original file line number Diff line number Diff line change
@@ -338,7 +338,7 @@ watch(modelValueComputed, async (newValue) => {
engineInstalledLibraries,
]): LibraryType[] => {
fetchStatuses.value[engineId] = "success";
const convertedInstalledLibrary = Object.fromEntries(
const convertedInstalledLibraries = Object.fromEntries(
Object.entries(engineInstalledLibraries).map(
([uuid, library]) => {
return [
@@ -360,7 +360,7 @@ watch(modelValueComputed, async (newValue) => {
uuid: LibraryId(library.uuid),
speakers: libraryInfoToCharacterInfos(engineId, library),
};
const installedLibrary = convertedInstalledLibrary[library.uuid];
const installedLibrary = convertedInstalledLibraries[library.uuid];
if (installedLibrary) {
return {
...libraryBase,