Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: npm run lint:fix #6421

Merged
merged 1 commit into from
Oct 14, 2024
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: 1 addition & 1 deletion src/components/AppNavigation/CalendarList/Trashbin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
},
retentionDuration() {
return Math.ceil(
this.calendarsStore.trashBin.retentionDuration / (60 * 60 * 24)
this.calendarsStore.trashBin.retentionDuration / (60 * 60 * 24),

Check warning on line 190 in src/components/AppNavigation/CalendarList/Trashbin.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/Trashbin.vue#L190

Added line #L190 was not covered by tests
)
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ export default {
displayName() {
if (this.sharee.isCircle) {
return t('calendar', '{teamDisplayName} (Team)', {
teamDisplayName: this.sharee.displayName
teamDisplayName: this.sharee.displayName,
})
}

return this.sharee.displayName
}
},
},
mounted() {
this.updateShareeEmail()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{{ $t('calendar', 'Default attachments location') }}
</label>
<div class="form-group">
<NcInputField v-model="attachmentsFolder"
<NcInputField :id="inputId"
v-model="attachmentsFolder"
type="text"
:id="inputId"
:label-outside="true"
@input="debounceSaveAttachmentsFolder(attachmentsFolder)"
@change="debounceSaveAttachmentsFolder(attachmentsFolder)"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/Attachments/AttachmentsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default {
type: 'primary',
callback: () => {
window.open(url.href, '_blank', 'noopener noreferrer')
}
},
},
]
this.showOpenConfirmation = true
Expand Down
8 changes: 4 additions & 4 deletions src/components/Editor/Invitees/InviteesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,14 @@
organizers.push({
id: owner.id,
label: owner.displayname,
address: owner.emailAddress
address: owner.emailAddress,

Check warning on line 240 in src/components/Editor/Invitees/InviteesList.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Invitees/InviteesList.vue#L240

Added line #L240 was not covered by tests
})
}
if (principal && owner.id !== principal.id) {
organizers.push({
id: principal.id,
label: principal.displayname,
address: principal.emailAddress
address: principal.emailAddress,
})
}
return organizers
Expand Down Expand Up @@ -305,13 +305,13 @@
const user = this.calendarObjectInstance.organizer
organizer = {
label: user.commonName,
address: removeMailtoPrefix(user.uri)
address: removeMailtoPrefix(user.uri),
}
} else if (this.principalsStore.getCurrentUserPrincipal) {
const user = this.principalsStore.getCurrentUserPrincipal
organizer = {
label: user.displayname,
address: user.emailAddress
address: user.emailAddress,
}
}
return organizer
Expand Down
4 changes: 2 additions & 2 deletions src/components/Editor/Invitees/OrganizerListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<template v-for="person in organizerSelection">
<NcActionButton v-if="!selectedOrganizer(person.address)"
:key="person.address + '-1'"
:closeAfterClick = "true"
:close-after-click="true"
@click="changeOrganizer(person, false)">
<template #icon>
<Crown :size="20" />
Expand All @@ -32,7 +32,7 @@
</NcActionButton>
<NcActionButton v-if="!selectedOrganizer(person.address)"
:key="person.address + '-2'"
:closeAfterClick = "true"
:close-after-click="true"
@click="changeOrganizer(person, true)">
<template #icon>
<Crown :size="20" />
Expand Down
4 changes: 2 additions & 2 deletions src/components/Shared/CalendarPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
:multiple="multiple"
:clearable="clearable"
:filter-by="selectFilterBy"
:input-label="this.inputLabel"
:label-outside="this.inputLabel === ''"
:input-label="inputLabel"
:label-outside="inputLabel === ''"
@option:selected="change"
@option:deselected="remove">
<template #option="{ id }">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Shared/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
:append-to-body="appendToBody"
v-bind="$attrs"
confirm
v-on="$listeners"
class="date-time-picker"
v-on="$listeners"
@close="close"
@change="change"
@pick="pickDate">
Expand Down
Loading