diff --git a/components/settings/SettingsProfileMetadata.vue b/components/settings/SettingsProfileMetadata.vue
index 525dbcdb..6abafb4b 100644
--- a/components/settings/SettingsProfileMetadata.vue
+++ b/components/settings/SettingsProfileMetadata.vue
@@ -25,7 +25,7 @@ const chooseIcon = (i: number, text: string) => {
-
@@ -37,9 +37,9 @@ const chooseIcon = (i: number, text: string) => {
:content="text"
>
-
+
diff --git a/pages/settings/profile/appearance.vue b/pages/settings/profile/appearance.vue
index cd9049b2..82442c93 100644
--- a/pages/settings/profile/appearance.vue
+++ b/pages/settings/profile/appearance.vue
@@ -54,6 +54,9 @@ onMastoInit(async () => {
const isCanSubmit = computed(() => !isError.value && !isEmptyObject(dirtyFields.value))
const { submit, submitting } = submitter(async ({ dirtyFields }) => {
+ if (!isCanSubmit.value)
+ return
+
const res = await useMasto().accounts.updateCredentials(dirtyFields.value as UpdateCredentialsParams)
.then(account => ({ account }))
.catch((error: Error) => ({ error }))