Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/AppSettingsMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:show-navigation="true"
:additional-trap-elements="trapElements"
:legacy="false"
:open.sync="showSettings">
v-model:open="showSettings">

Check failure on line 13 in src/components/AppSettingsMenu.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
<NcAppSettingsSection id="general" :name="t('mail', 'General')">
<NcButton
variant="secondary"
Expand Down Expand Up @@ -103,7 +103,7 @@
</NcRadioGroup>

<NcDialog
:open.sync="textBlockDialogOpen"
v-model:open="textBlockDialogOpen"

Check failure on line 106 in src/components/AppSettingsMenu.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
:name="t('mail', 'New text block')"
:is-form="true"
size="normal">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Composer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
</template>
</ButtonVue>

<Actions :open.sync="isAddAttachmentsOpen">
<Actions v-model:open="isAddAttachmentsOpen">

Check failure on line 337 in src/components/Composer.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
<template #icon>
<Paperclip :size="20" />
</template>
Expand All @@ -357,7 +357,7 @@
</Actions>

<Actions
:open.sync="isActionsOpen"
v-model:open="isActionsOpen"

Check failure on line 360 in src/components/Composer.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
@close="isMoreActionsOpen = false">
<template v-if="!isMoreActionsOpen">
<ActionButton v-if="isPickerAvailable" :close-after-click="true" @click="openPicker">
Expand Down
2 changes: 1 addition & 1 deletion src/components/InternalAddress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{{ t('mail', 'Add internal address') }}
</ButtonVue>
<NcDialog
:open.sync="openDialog"
v-model:open="openDialog"

Check failure on line 62 in src/components/InternalAddress.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
:buttons="buttons"
:name="t('mail', 'Add internal address')"
@close="openDialog = false">
Expand Down
2 changes: 1 addition & 1 deletion src/components/MailboxThread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
:infinite-scroll-distance="300"
role="heading"
:aria-level="2"
@shortkey.native="onShortcut">
@shortkey="onShortcut">
<template v-if="!mailbox.isPriorityInbox">
<div
v-if="sortFavorites"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MoveMailboxModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template>
<MailboxPicker
:account="account"
:selected.sync="destMailboxId"
v-model:selected="destMailboxId"

Check failure on line 8 in src/components/MoveMailboxModal.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
:loading="moving"
:picked-mailbox="mailbox"
:allow-root="true"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MoveModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template>
<MailboxPicker
:account="account"
:selected.sync="destMailboxId"
v-model:selected="destMailboxId"

Check failure on line 8 in src/components/MoveModal.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
:loading="moving"
:label-select="moveThread ? t('mail', 'Move thread') : t('mail', 'Move message')"
:label-select-loading="moveThread ? t('mail', 'Moving thread') : t('mail', 'Moving message')"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</AppNavigationItem>
</div>
</template>
<AppSettingsMenu :open.sync="showSettings" />
<AppSettingsMenu v-model:open="showSettings" />

Check failure on line 84 in src/components/Navigation.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
</AppNavigation>
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/components/NavigationAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</ActionButton>
<ActionInput
v-if="editing && nameInput"
:value.sync="createMailboxName"
v-model:value="createMailboxName"

Check failure on line 65 in src/components/NavigationAccount.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
@submit.prevent.stop="createMailbox">
<template #icon>
<IconFolderAdd :size="20" />
Expand Down
8 changes: 4 additions & 4 deletions src/components/NavigationMailbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
isValidDropTarget,
}"
:allow-collapse="hasSubMailboxes"
:menu-open.sync="menuOpen"
v-model:menu-open="menuOpen"

Check failure on line 18 in src/components/NavigationMailbox.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'v-model' directives require no argument
:force-menu="true"
:name="title"
:to="to"
:open.sync="showSubMailboxes"
v-model:open="showSubMailboxes"
@update:menuOpen="onMenuToggle">
<template #icon="{ active }">
<div>
Expand Down Expand Up @@ -120,7 +120,7 @@
</ActionButton>
<ActionInput
v-if="subfolderInput"
:value.sync="createMailboxName"
v-model:value="createMailboxName"
@submit.prevent.stop="createMailbox">
<template #icon>
<IconAdd :size="20" />
Expand All @@ -142,7 +142,7 @@
</ActionButton>
<ActionInput
v-if="renameInput"
:value.sync="mailboxName"
v-model:value="mailboxName"
@submit.prevent.stop="renameMailbox">
<template #icon>
<IconEdit
Expand Down
6 changes: 3 additions & 3 deletions src/components/SearchMessages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,19 +279,19 @@
:no-close="true"
:variant="hasAttachmentActive ? 'primary' : 'secondary'"
:aria-label="t('mail', 'Has attachment')"
@click.native="toggleGetAttachments" />
@click="toggleGetAttachments" />
<NcChip
:text="t('mail', 'Unread')"
:no-close="true"
:variant="hasUnreadActive ? 'primary' : 'secondary'"
:aria-label="t('mail', 'Unread')"
@click.native="toggleUnread" />
@click="toggleUnread" />
<NcChip
:text="t('mail', 'To me')"
:no-close="true"
:variant="hasToMeActive ? 'primary' : 'secondary'"
:aria-label="t('mail', 'To me')"
@click.native="toggleCurrentUser" />
@click="toggleCurrentUser" />
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ThreadEnvelope.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
:mailbox="mailbox"
:with-select="false"
:with-show-source="true"
:more-actions-open.sync="moreActionsOpen"
v-model:more-actions-open="moreActionsOpen"
@reply="onReply('', false, false)"
@delete="$emit('delete', envelope.databaseId)"
@show-source-modal="onShowSourceModal"
Expand Down
2 changes: 1 addition & 1 deletion src/components/textBlocks/ListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>
</NcListItem>
<NcDialog
:open.sync="editModalOpen"
v-model:open="editModalOpen"
:name="t('mail', 'Edit text block')"
size="normal"
:is-form="true">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<AccountForm
:display-name="displayName"
:email="email"
:error.sync="error"
v-model:error="error"
class="setup__form-content__form"
@account-created="onAccountCreated" />
</template>
Expand Down
Loading