Merged in feat/webview-hide-overview-back (pull request #2684)
feat(webview): flag to show/hide back to overview-button * feat(webview): flag to show/hide back to overview-button Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -9,8 +9,13 @@ import { getLang } from "@/i18n/serverContext"
|
||||
import { webviewSearchParams } from "@/utils/webviews"
|
||||
|
||||
import styles from "./linkToOverview.module.css"
|
||||
import { env } from "@/env/server"
|
||||
|
||||
export default async function LinkToOverview() {
|
||||
if (!env.WEBVIEW_SHOW_OVERVIEW) {
|
||||
return null
|
||||
}
|
||||
|
||||
const intl = await getIntl()
|
||||
const searchParams = await webviewSearchParams()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user