This is a technical dept PR that cleans up several aspects:
Clears out delegableOrgSlice:
Moves lookupOrg dispatch function to rtkQuery in lookupApi
Moves chosenDelegableOrgList from state in delegableOrg and place it in apiDelegationSlice (as chosenOrgs)
Moves choice logic to ChooseOrgPage
Moves the search to a separate hook
Deletes delegableOrgSlice
Fixes broken component tests
Fixes github action workflow so running of component tests are triggered by changes in src (as opposed to ignoring changes to src as it appears to have been mistakenly set to)
Related Issue(s)
909
Verification
[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green
Documentation
[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
Description
This is a technical dept PR that cleans up several aspects:
Related Issue(s)
909
Verification
Documentation