Skip to content

Commit

Permalink
Merge pull request #708 from bcgov/SRS-353
Browse files Browse the repository at this point in the history
fixed multiple UI issues
  • Loading branch information
nikhila-aot authored Jun 6, 2024
2 parents 9a78dac + 2c6743d commit 3a92895
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 3a92895

Please sign in to comment.