feat: add closed page component and update navigation paths for chat support
This commit is contained in:
@@ -25,5 +25,5 @@ async function loadCloseNavigation() {
|
|||||||
test("standalone close navigates to the non-bootstrapping closed page", async () => {
|
test("standalone close navigates to the non-bootstrapping closed page", async () => {
|
||||||
const { getStandaloneClosedUrl } = await loadCloseNavigation()
|
const { getStandaloneClosedUrl } = await loadCloseNavigation()
|
||||||
|
|
||||||
assert.equal(getStandaloneClosedUrl(), "/support/closed")
|
assert.equal(getStandaloneClosedUrl(), "/support/chat/closed")
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export const KEFU_CLOSED_PATH = "/support/closed"
|
export const KEFU_CLOSED_PATH = "/support/chat/closed"
|
||||||
|
|
||||||
export function getStandaloneClosedUrl() {
|
export function getStandaloneClosedUrl() {
|
||||||
return KEFU_CLOSED_PATH
|
return KEFU_CLOSED_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user