Skip to content

Commit

Permalink
IS-2690: Avoid navigation sync, when other window navigates to enkelt…
Browse files Browse the repository at this point in the history
…person sykmeldt
  • Loading branch information
vetlesolgaard committed Oct 8, 2024
1 parent 8418995 commit d9b73a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/decorator/decoratorProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export interface DecoratorProps {
environment: Environment; // Miljø som skal brukes.
urlFormat: UrlFormat; // URL format
proxy?: string | undefined; // Manuell overstyring av urlene til BFFs. Gjør alle kall til relativt path hvis true, og bruker verdien som domene om satt til en string. Default: false
fnrSyncMode: "sync" | "writeOnly"; // Modus til fnr state management. "sync" er default. "writeOnly" gjør at endringer aldri hentes men vil settes dersom det oppdateres lokalt i appen
enhetSyncMode?: "sync" | "writeOnly"; // Samme som fnrSyncMode, men for enhet state.
}

export interface Markup {
Expand Down
2 changes: 2 additions & 0 deletions src/decorator/decoratorconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const decoratorConfig = (setFnr: (fnr: string) => void): DecoratorProps => {
environment: getEnvironment(),
urlFormat: getUrlFormat(),
proxy: "/modiacontextholder",
fnrSyncMode: "writeOnly",
enhetSyncMode: "writeOnly",
};
};

Expand Down

0 comments on commit d9b73a6

Please sign in to comment.