Skip to content

Commit

Permalink
Merge pull request #542 from Onlineberatung/VIC-TurnAroundVideoCallFe…
Browse files Browse the repository at this point in the history
…atureToggle

feat: turned video call feature config around to enable by default
  • Loading branch information
web-mi authored Jul 22, 2022
2 parents 1857a13 + 43dbca6 commit 530d01e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/app/RouterConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const hasVideoCallFeature = (userData, consultingTypes) =>
);

const isVideoAppointmentsEnabled = (userData, consultingTypes) =>
config.enableVideoAppointments &&
!config.disableVideoAppointments &&
hasVideoCallFeature(userData, consultingTypes);

export const RouterConfigUser = (): any => {
Expand Down
2 changes: 1 addition & 1 deletion src/resources/scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const config = {
useTenantService: false,
enableTenantTheming: false, // Feature flag to enable tenant theming based on subdomains
enableWalkthrough: false, // Feature flag to enable walkthrough (false by default here & true in the theme repo)
enableVideoAppointments: true, // Feature flag to enable Video-Termine page
disableVideoAppointments: false, // Feature flag to enable Video-Termine page

endpoints: {
agencyConsultants: apiUrl + '/service/users/consultants',
Expand Down

0 comments on commit 530d01e

Please sign in to comment.