diff --git a/src/components/remote_follow/remote_follow.js b/src/components/remote_follow/remote_follow.js
index 56b264fc9..6f3e3bff3 100644
--- a/src/components/remote_follow/remote_follow.js
+++ b/src/components/remote_follow/remote_follow.js
@@ -2,7 +2,7 @@ export default {
props: ['user'],
computed: {
subscribeUrl () {
- // eslint-disable-next-line no-undef
+
const serverUrl = new URL(this.user.statusnet_profile_url)
return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`
}
diff --git a/src/components/roundness_input/roundness_input.vue b/src/components/roundness_input/roundness_input.vue
index 022a184e6..1da71ca79 100644
--- a/src/components/roundness_input/roundness_input.vue
+++ b/src/components/roundness_input/roundness_input.vue
@@ -15,7 +15,7 @@
:model-value="present"
:disabled="disabled"
class="opt"
- @update:modelValue="$emit('update:modelValue', !present ? fallback : undefined)"
+ @update:model-value="$emit('update:modelValue', !present ? fallback : undefined)"
/>
@@ -247,7 +247,7 @@
:label="$t('settings.style.fonts.components.interface')"
:fallback="{ family: 'sans-serif' }"
no-inherit="1"
- @update:modelValue="v => updateFont('interface', v)"
+ @update:model-value="v => updateFont('interface', v)"
/>
@@ -257,7 +257,7 @@
name="input"
:fallback="{ family: 'inherit' }"
:label="$t('settings.style.fonts.components.input')"
- @update:modelValue="v => updateFont('input', v)"
+ @update:model-value="v => updateFont('input', v)"
/>
@@ -267,7 +267,7 @@
name="post"
:fallback="{ family: 'inherit' }"
:label="$t('settings.style.fonts.components.post')"
- @update:modelValue="v => updateFont('post', v)"
+ @update:model-value="v => updateFont('post', v)"
/>
@@ -277,7 +277,7 @@
name="postCode"
:fallback="{ family: 'monospace' }"
:label="$t('settings.style.fonts.components.monospace')"
- @update:modelValue="v => updateFont('monospace', v)"
+ @update:model-value="v => updateFont('monospace', v)"
/>
{{ $t('settings.columns') }}
diff --git a/src/components/settings_modal/tabs/data_import_export_tab.js b/src/components/settings_modal/tabs/data_import_export_tab.js
index 4895733c9..5da2c45d9 100644
--- a/src/components/settings_modal/tabs/data_import_export_tab.js
+++ b/src/components/settings_modal/tabs/data_import_export_tab.js
@@ -72,7 +72,7 @@ const DataImportExportTab = {
// check is it's a local user
if (user && user.is_local) {
// append the instance address
- // eslint-disable-next-line no-undef
+
return user.screen_name + '@' + location.hostname
}
return user.screen_name
diff --git a/src/components/settings_modal/tabs/mutes_and_blocks_tab.js b/src/components/settings_modal/tabs/mutes_and_blocks_tab.js
index 51974f9fa..e7459e065 100644
--- a/src/components/settings_modal/tabs/mutes_and_blocks_tab.js
+++ b/src/components/settings_modal/tabs/mutes_and_blocks_tab.js
@@ -85,7 +85,7 @@ const MutesAndBlocks = {
// check is it's a local user
if (user && user.is_local) {
// append the instance address
- // eslint-disable-next-line no-undef
+
return user.screen_name + '@' + location.hostname
}
return user.screen_name
diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js
index 5b6da029b..03969b726 100644
--- a/src/components/settings_modal/tabs/profile_tab.js
+++ b/src/components/settings_modal/tabs/profile_tab.js
@@ -134,14 +134,14 @@ const ProfileTab = {
note: this.newBio,
locked: this.newLocked,
// Backend notation.
- /* eslint-disable camelcase */
+
display_name: this.newName,
fields_attributes: this.newFields.filter(el => el != null),
actor_type: this.actorType,
show_role: this.showRole,
birthday: this.newBirthday || '',
show_birthday: this.showBirthday
- /* eslint-enable camelcase */
+
}
if (this.emailLanguage) {
@@ -190,7 +190,7 @@ const ProfileTab = {
})
return
}
- // eslint-disable-next-line no-undef
+
const reader = new FileReader()
reader.onload = ({ target }) => {
const img = target.result
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.vue b/src/components/settings_modal/tabs/style_tab/style_tab.vue
index 3cdb41830..5084b757c 100644
--- a/src/components/settings_modal/tabs/style_tab/style_tab.vue
+++ b/src/components/settings_modal/tabs/style_tab/style_tab.vue
@@ -147,7 +147,7 @@
>
updateSelectedStates(state, v)"
+ @update:model-value="(v) => updateSelectedStates(state, v)"
>
{{ state }}
@@ -337,7 +337,7 @@
:no-preview="true"
:compact="true"
:static-vars="staticVars"
- @subShadowSelected="onSubShadow"
+ @sub-shadow-selected="onSubShadow"
/>
@@ -373,8 +373,8 @@
:model-value="palettes"
:selected-id="selectedPaletteId"
:get-add-value="getNewPalette"
- @update:modelValue="onPalettesUpdate"
- @update:selectedId="e => selectedPaletteId = e"
+ @update:model-value="onPalettesUpdate"
+ @update:selected-id="e => selectedPaletteId = e"
/>
diff --git a/src/components/settings_modal/tabs/style_tab/virtual_directives_tab.vue b/src/components/settings_modal/tabs/style_tab/virtual_directives_tab.vue
index 158f0a70c..b2b50b3e8 100644
--- a/src/components/settings_modal/tabs/style_tab/virtual_directives_tab.vue
+++ b/src/components/settings_modal/tabs/style_tab/virtual_directives_tab.vue
@@ -28,8 +28,8 @@
:model-value="modelValue"
:selected-id="selectedVirtualDirectiveId"
:get-add-value="getNewVirtualDirective"
- @update:modelValue="e => emit('update:modelValue', e)"
- @update:selectedId="e => selectedVirtualDirectiveId = e"
+ @update:model-value="e => emit('update:modelValue', e)"
+ @update:selected-id="e => selectedVirtualDirectiveId = e"
/>
diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue
index d5fb80dc4..f34741797 100644
--- a/src/components/shadow_control/shadow_control.vue
+++ b/src/components/shadow_control/shadow_control.vue
@@ -35,7 +35,7 @@
:selected-id="selectedId"
:get-add-value="getNewSubshadow"
:disabled="disabled"
- @update:selectedId="onSelectChange"
+ @update:selected-id="onSelectChange"
/>
@@ -170,12 +170,12 @@
:fallback="getColorFallback"
:show-optional-checkbox="false"
name="shadow"
- @update:modelValue="e => updateProperty('color', e)"
+ @update:model-value="e => updateProperty('color', e)"
/>
updateProperty('alpha', e)"
+ @update:model-value="e => updateProperty('alpha', e)"
/>
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue
index f21bcc80e..16894021b 100644
--- a/src/components/status_body/status_body.vue
+++ b/src/components/status_body/status_body.vue
@@ -52,7 +52,7 @@
:faint="compact"
:greentext="mergedConfig.greentext"
:attentions="status.attentions"
- @parseReady="onParseReady"
+ @parse-ready="onParseReady"
/>