feat(BOOK-67): Added functionality to show/hide the chatbot
Approved-by: Linus Flood
This commit is contained in:
@@ -1 +1,18 @@
|
||||
export const CHATBOT_HIDE_ROUTES = ["/hotelreservation"]
|
||||
import { Lang } from "@scandic-hotels/common/constants/language"
|
||||
|
||||
export const CHATBOT_SHOW_ROUTES = {
|
||||
[Lang.en]: [
|
||||
"/customer-service", // Customer service pages
|
||||
"/scandic-friends", // My pages
|
||||
"/hotels", // Hotel pages
|
||||
],
|
||||
[Lang.sv]: [],
|
||||
[Lang.no]: [],
|
||||
[Lang.fi]: [],
|
||||
[Lang.da]: [],
|
||||
[Lang.de]: [],
|
||||
} as const
|
||||
|
||||
export const CHATBOT_HIDE_CONDITIONS = {
|
||||
searchParams: [{ key: "view", value: "map" }],
|
||||
} as const
|
||||
|
||||
Reference in New Issue
Block a user