Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Jan 11, 2024
1 parent 26e0e28 commit b8b4b78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/components/AclStateButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div v-else>
<NcActions :aria-label="label" :v-tooltip="label">
<template #icon>
<component :class="{inherited: isInherited}" :is="icon" :size="16" />
<component :is="icon" :class="{inherited: isInherited}" :size="16" />
</template>
<NcActionRadio name="state"
:checked="state === STATES.INHERIT_ALLOW || state === STATES.INHERIT_DENY"
Expand Down Expand Up @@ -119,9 +119,9 @@ export default {
isAllowed() {
return this.state & 1
},
isInherited() {
return (this.state & 2) === 0
},
isInherited() {
return (this.state & 2) === 0
},
icon() {
switch (this.state) {
case STATES.INHERIT_ALLOW:
Expand Down
12 changes: 6 additions & 6 deletions src/components/SharingSidebarView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@
ref="select"
v-model="value"
:options="options"
:clear-search-on-select="true"
:clear-search-on-select="true"
:loading="isSearching"
:filterable="false"
:filterable="false"
:placeholder="t('groupfolders', 'Select a user or group')"
:getOptionKey="() => 'unique'"
:get-option-key="() => 'unique'"
@input="createAcl"
@search="searchMappings">
<template #option="option">
Expand Down Expand Up @@ -177,7 +177,7 @@ export default {
},
components: {
NcAvatar,
NcSelect,
NcSelect,
NcButton,
AclStateButton,
Plus,
Expand Down Expand Up @@ -275,7 +275,7 @@ export default {
type: 'group',
id: group.gid,
displayname: group.displayname,
label: this.getFullDisplayName(group.displayname, 'group'),
label: this.getFullDisplayName(group.displayname, 'group'),
}
})
const users = Object.values(result.data.ocs.data.users).map((user) => {
Expand All @@ -284,7 +284,7 @@ export default {
type: 'user',
id: user.uid,
displayname: user.displayname,
label: this.getFullDisplayName(user.displayname, 'user'),
label: this.getFullDisplayName(user.displayname, 'user'),
}
})
this.options = [...groups, ...users].filter((entry) => {
Expand Down

0 comments on commit b8b4b78

Please sign in to comment.