-
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
Show and remove filter, change design #156
Conversation
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.
Fix: 0 -> Velg/velg bort alle
Fix: Gjør hele området klikkbart
async function getDepartments(setDepartments: Function, pathName: string) { | ||
try { | ||
const data = await fetch( | ||
`${pathName}/api/departments?organisationName=${pathName.split("/")[1]}`, |
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.
Kanskje vi kan fikse dette senere, men dette er en ganske utrygg måte å hente org-id på, siden det er prisgitt at URL er bem.no//mer ting
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.
Svar: Fikser URL-håndtering senere
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.
Er dette noe jeg kan hjelpe til med? :)
async function getDepartments(setDepartments: Function, pathName: string) { | ||
try { | ||
const data = await fetch( | ||
`${pathName}/api/departments?organisationName=${pathName.split("/")[1]}`, |
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.
Svar: Fikser URL-håndtering senere
No description provided.