수정
This commit is contained in:
@@ -257,7 +257,6 @@ export interface ShortcutSaveResponse {
|
|||||||
};
|
};
|
||||||
export interface ShortcutUserParams {
|
export interface ShortcutUserParams {
|
||||||
usrid: string;
|
usrid: string;
|
||||||
subUserLevel?: string;
|
|
||||||
};
|
};
|
||||||
export interface ShortcutUserResponse {
|
export interface ShortcutUserResponse {
|
||||||
shortcuts: Array<Shortcuts>;
|
shortcuts: Array<Shortcuts>;
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ export const SubLayout = () => {
|
|||||||
if(userInfo.usrid){
|
if(userInfo.usrid){
|
||||||
let params: ShortcutUserParams = {
|
let params: ShortcutUserParams = {
|
||||||
usrid: userInfo.usrid,
|
usrid: userInfo.usrid,
|
||||||
subUserLevel: 'MANAGER'
|
|
||||||
};
|
};
|
||||||
shortcutDefault(params).then((rs: ShortcutUserResponse) => {
|
shortcutDefault(params).then((rs: ShortcutUserResponse) => {
|
||||||
const modifiedShortcuts = rs.shortcuts.map(shortcut => ({
|
const modifiedShortcuts = rs.shortcuts.map(shortcut => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user