Skip to content

Commit

Permalink
chore: npm run lint:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
  • Loading branch information
hamza221 committed Oct 14, 2024
1 parent 9884ddc commit b20a767
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
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 @@ export default {
},
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
4 changes: 2 additions & 2 deletions src/components/AppNavigation/EditCalendarModal/ShareItem.vue
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 @@ export default {
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 @@ export default {
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

0 comments on commit b20a767

Please sign in to comment.