Skip to content

Commit

Permalink
chore: js lint
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Feb 6, 2025
1 parent 2c2da58 commit e6a9a8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/settings/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import axios from '@nextcloud/axios'
import { confirmPassword } from '@nextcloud/password-confirmation'
// eslint-disable-next-line n/no-unpublished-import
import type { OCSResponse } from '@nextcloud/typings/lib/ocs'
import type {Folder, Group, User, AclManage, DelegationCircle, DelegationGroup, Circle} from '../types'
import type { Folder, Group, User, AclManage, DelegationCircle, DelegationGroup, Circle } from '../types'

export class Api {

Expand Down
16 changes: 8 additions & 8 deletions src/settings/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,14 @@ function ManageAclSelect({ onChange, onSearch, folder }: ManageAclSelectProps) {

const typeLabel = (item: AclManage) => {
switch (item.type) {
case "circle":
return t('groupfolders', 'Team');
case "group":
return t('groupfolders', 'Group');
case "user":
return t('groupfolders', 'User');
default:
return t('groupfolders', 'Unknown');
case 'circle':
return t('groupfolders', 'Team')
case 'group':
return t('groupfolders', 'Group')
case 'user':
return t('groupfolders', 'User')
default:
return t('groupfolders', 'Unknown')
}
}

Expand Down

0 comments on commit e6a9a8b

Please sign in to comment.