Skip to content
Merged
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
2 changes: 2 additions & 0 deletions src/components/AliasForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
v-model="changeName"
type="text"
class="alias-form__form__input"
:aria-label="t('mail', 'Alias name')"
required>
<input
v-model="changeAlias"
:disabled="alias.provisioned"
type="email"
class="alias-form__form__input"
:aria-label="t('mail', 'Email address')"
required>
</form>
<div v-else>
Expand Down Expand Up @@ -87,7 +89,7 @@
},

props: {
account: {

Check warning on line 92 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'account' of property found, but never used
type: Object,
required: true,
},
Expand All @@ -99,22 +101,22 @@

enableUpdate: {
type: Boolean,
default: true,

Check warning on line 104 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Boolean prop should only be defaulted to false
},

enableDelete: {
type: Boolean,
default: true,

Check warning on line 109 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Boolean prop should only be defaulted to false
},

onUpdateAlias: {
type: Function,
default: async (aliasId, { alias, name }) => {},

Check warning on line 114 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'name' is defined but never used

Check warning on line 114 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'alias' is defined but never used

Check warning on line 114 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'aliasId' is defined but never used
},

onDelete: {
type: Function,
default: async (aliasId) => {},

Check warning on line 119 in src/components/AliasForm.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'aliasId' is defined but never used
},
},

Expand Down
4 changes: 3 additions & 1 deletion src/components/ComposerAttachment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
{{ attachment.sizeString }}
</span>
</div>
<button @click="onDelete(attachment)">
<button
:aria-label="t('mail', 'Remove attachment {fileName}', { fileName: attachment.displayName ?? attachment.fileName })"
@click="onDelete(attachment)">
<Close :size="20" />
</button>
</li>
Expand Down
7 changes: 6 additions & 1 deletion src/components/EventModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
<div class="modal-content">
<h2>{{ t('mail', 'Create event') }}</h2>
<div class="eventTitle">
<input v-model="eventTitle" :disabled="generatingData" type="text">
<label for="eventTitle">{{ t('mail', 'Title') }}</label>
<input
id="eventTitle"
v-model="eventTitle"
:disabled="generatingData"
type="text">
</div>
<div class="dateTimePicker">
<DatetimePicker
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchMessages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</div>
</div>
<div class="modal-inner--field">
<label class="modal-inner--label" for="fromId">
<label class="modal-inner--label">
{{ t('mail', 'Date') }}
</label>
<div class="modal-inner--container range">
Expand Down
3 changes: 2 additions & 1 deletion src/components/TaskModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<div class="modal-content">
<h2>{{ t('mail', 'Create task') }}</h2>
<div class="taskTitle">
<input v-model="taskTitle" type="text">
<label for="taskTitle">{{ t('mail', 'Title') }}</label>
<input id="taskTitle" v-model="taskTitle" type="text">
</div>
<div class="all-day">
<DatetimePicker
Expand Down
Loading