Skip to content

Commit

Permalink
fixed multiple ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
midhun-aot committed Jun 5, 2024
1 parent 74acb38 commit 2c6743d
Show file tree
Hide file tree
Showing 17 changed files with 864 additions and 414 deletions.
7 changes: 4 additions & 3 deletions frontend/Site/src/app/components/action/ActionsConfig.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { SiteDetailsMode } from "../../features/details/dto/SiteDetailsMode";
import { UserMode } from "../../helpers/requests/userMode";
import { DropdownItem } from "./IActions";

export const ActionItems: DropdownItem[] = [
{
label:'Edit Mode',
value: UserMode.EditMode
value: SiteDetailsMode.EditMode
},
{
label:'SR Mode',
value: UserMode.SrMode
value: SiteDetailsMode.SRMode
},
{
label:'Delete',
value: UserMode.DeleteMode
value: SiteDetailsMode.ViewOnlyMode
},
]
5 changes: 3 additions & 2 deletions frontend/Site/src/app/components/action/IActions.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { UserMode } from "../../helpers/requests/userMode";
import { SiteDetailsMode } from "../../features/details/dto/SiteDetailsMode";


export interface DropdownItem {
label: string;
value: UserMode;
value: SiteDetailsMode;
}

export interface IActions {
Expand Down
Loading

0 comments on commit 2c6743d

Please sign in to comment.