diff --git a/README.md b/README.md index d1c96cac1..17855aeb9 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ ## 細かい変更点 +- 設定のバックアップファイルに `misskeyVersion` の値が含まれていなくても警告しないように変更 - マージされていない本家版へのプルリクエストを独断でマージ - RTL Layout Support ([!10452](https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10452)) - Add language picker to post form ([!10616](https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10616)) diff --git a/packages/client/src/pages/settings/preferences-backups.vue b/packages/client/src/pages/settings/preferences-backups.vue index 794c60e18..67a64eff5 100644 --- a/packages/client/src/pages/settings/preferences-backups.vue +++ b/packages/client/src/pages/settings/preferences-backups.vue @@ -188,8 +188,8 @@ function validate(profile: unknown): void { throw new Error("Unnecessary properties exist"); if (!profile.name) throw new Error("Missing required prop: name"); - if (!profile.misskeyVersion) - throw new Error("Missing required prop: misskeyVersion"); + // if (!profile.misskeyVersion) + // throw new Error("Missing required prop: misskeyVersion"); // Check if createdAt and updatedAt is Date // https://zenn.dev/lollipop_onl/articles/eoz-judge-js-invalid-date