toggle hs deltagere lagt til#2988
Open
miove4372 wants to merge 2 commits into
Open
Conversation
Collaborator
miove4372
commented
Apr 8, 2026
8292a9b to
80d0c18
Compare
Preview Environment
Deployed from |
80d0c18 to
351a0c8
Compare
omfj
requested changes
Apr 8, 2026
Member
|
Bra jobba. Litt so ikke trenger å være med som vi kan fjerne. |
351a0c8 to
291369f
Compare
291369f to
18da36f
Compare
Member
|
Har du pushet feil @johanneherheim eller er du med på den her nå? |
omfj
requested changes
Apr 29, 2026
| import { featureFlags } from "../../../../data/kv/namespaces"; | ||
|
|
||
| export default async function toggleHsApplications(newValue: boolean) { | ||
| console.info("Setting HS-Applications to:", newValue); |
| await featureFlags.set("HS-Application", { showHSApplications: newValue }); | ||
|
|
||
| const check = await featureFlags.get("HS-Application"); | ||
| console.info("Changed to", check); |
Member
There was a problem hiding this comment.
Suggested change
| console.info("Changed to", check); |
Fjern her og
omfj
requested changes
Apr 29, 2026
Comment on lines
+17
to
+19
| schema: z.object({ | ||
| showHSApplications: z.boolean(), | ||
| }), |
Member
There was a problem hiding this comment.
Suggested change
| schema: z.object({ | |
| showHSApplications: z.boolean(), | |
| }), | |
| schema: z.boolean().default(false), |
Tror ikke vi trenger å gjøre det til et objekt.
Member
skulle berre rebase? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.