-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legg etikett presentasjon fullmakt #572
base: master
Are you sure you want to change the base?
Conversation
@@ -47,7 +47,7 @@ function OppgaveInnerForm({ | |||
tema={tema} | |||
veilederId={veilederId} | |||
formikProps={formikProps} | |||
enhetId={!!enhetId ? enhetId : avsenderenhetId} | |||
enhetId={enhetId ? enhetId : avsenderenhetId} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne er vel grei å beholde som den var? SonarCloud liker ikke endringen, så hvis vi ikke vil bruke !!
så burde vi endre uttrykket
export interface FullmaktData { | ||
fullmaktsgiver: StringOrNothing; | ||
fullmektig: StringOrNothing; | ||
omraade: OmraadeMedHandling[]; | ||
gyldigFraOgMed: StringOrNothing; | ||
gyldigTilOgMed: StringOrNothing; | ||
fullmaktsgiverNavn: StringOrNothing; | ||
fullmektigsNavn: StringOrNothing; | ||
} | ||
|
||
export interface OmraadeMedHandling { | ||
tema: StringOrNothing; | ||
handling: OmraadeHandlingType[]; | ||
} | ||
|
||
export enum OmraadeHandlingType { | ||
LES = 'LES', | ||
KOMMUNISER = 'KOMMUNISER', | ||
SKRIV = 'SKRIV' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I og med at vi ikke bruker denne dataen til noe, kunne vi unngått å lagre den? Sånn for dataminimeringens skyld, kan vi forenkle modellen til å bare være om det eksisterer en fullmakt eller ikke? 🤔
…egg-etikett-presentasjon-fullmakt
|
Denne PRen handler om å vise etikett "ReprFullmakt" når person har fullmakt i den nye kilden (Representasjon)