[이슈처리 6] 기본 그룹 삭제 오류 수정
This commit is contained in:
parent
d90e93f0c6
commit
c7f6222c58
@ -289,6 +289,7 @@ export class GroupComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
/** 그룹 header > more 버튼 > visible of context menu */
|
/** 그룹 header > more 버튼 > visible of context menu */
|
||||||
getShowGroupContextMenu(menuType: string, group: GroupDetailData) {
|
getShowGroupContextMenu(menuType: string, group: GroupDetailData) {
|
||||||
|
// 즐겨찾기 그룹 숨김메뉴
|
||||||
if (
|
if (
|
||||||
menuType === 'DIV1' ||
|
menuType === 'DIV1' ||
|
||||||
menuType === 'RENAME' ||
|
menuType === 'RENAME' ||
|
||||||
@ -296,7 +297,13 @@ export class GroupComponent implements OnInit, OnDestroy {
|
|||||||
menuType === 'DELETE'
|
menuType === 'DELETE'
|
||||||
) {
|
) {
|
||||||
if (!group || group === undefined) {
|
if (!group || group === undefined) {
|
||||||
// 현재는 즐겨찾기에 해당함.
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 기본 그룹 숨김메뉴
|
||||||
|
if (menuType === 'RENAME' || menuType === 'DELETE') {
|
||||||
|
if (!!group && group.seq === 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user