Skip to content

Commit dbf494c

Browse files
committed
fix: Typos error
1 parent 94560b8 commit dbf494c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/views/system/resource-authorization/constant.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const permissionOptions = [
2323
]
2424

2525

26-
const getPermissionOptions = (isFodler = false, isRootFolder = false) => {
27-
if (isFodler && isRootFolder) {
26+
const getPermissionOptions = (isFolder = false, isRootFolder = false) => {
27+
if (isFolder && isRootFolder) {
2828
return permissionOptions.filter(
2929
item => item.value === AuthorizationEnum.VIEW || item.value === AuthorizationEnum.MANAGE
3030
)
3131
}
32-
if (isFodler) {
32+
if (isFolder) {
3333
return permissionOptions
3434
}
3535
if (hasPermission([EditionConst.IS_EE, EditionConst.IS_PE], 'OR')) {

0 commit comments

Comments
 (0)