diff --git a/documentation/meta/media_properties/frontend.md b/documentation/meta/media_properties/frontend.md index e3b28413f16..2d2017ad4ca 100644 --- a/documentation/meta/media_properties/frontend.md +++ b/documentation/meta/media_properties/frontend.md @@ -42,11 +42,11 @@ clarity. | `license_version` | `LicenseVersion` (custom) | | | [`originalTitle`](#Media-originalTitle-notes) | `string` | | | `provider` | `string` | | -| `providerName` | `string` | ✓ | +| `providerName` | `string` | | | `related_url` | `string` | | | `sensitivity` | `Sensitivity[]` (custom) | | -| `source` | `string` | ✓ | -| `sourceName` | `string` | ✓ | +| `source` | `string` | | +| `sourceName` | `string` | | | `tags` | `Tag[]` (custom) | | | `thumbnail` | `string` | ✓ | | [`title`](#Media-title-notes) | `string` | | diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index c03f6a16507..900ea1cdff9 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -135,7 +135,7 @@ const config: NuxtConfig = { : undefined, }, router: { - middleware: "middleware", + middleware: "feature-flags", }, components: [ { path: "~/components", extensions: ["vue"], pathPrefix: false }, @@ -148,6 +148,7 @@ const config: NuxtConfig = { "~/plugins/sentry.ts", "~/plugins/analytics.ts", "~/plugins/errors.ts", + "~/plugins/init-stores.ts", ], css: ["~/assets/fonts.css", "~/styles/tailwind.css", "~/styles/accent.css"], head, @@ -314,6 +315,7 @@ const config: NuxtConfig = { trackLocalhost: !isProdNotPlaywright, }, publicRuntimeConfig: { + deploymentEnv: process.env.DEPLOYMENT_ENV ?? "local", plausible: { // This is the current domain of the site. domain: @@ -346,7 +348,6 @@ const config: NuxtConfig = { environment: process.env.SENTRY_ENVIRONMENT, }, }, - deploymentEnv: process.env.DEPLOYMENT_ENV ?? "local", }, } diff --git a/frontend/src/components/VContentSwitcher/VSearchTypeButton.vue b/frontend/src/components/VContentSwitcher/VSearchTypeButton.vue index b4f9e810ac9..e19d7420d17 100644 --- a/frontend/src/components/VContentSwitcher/VSearchTypeButton.vue +++ b/frontend/src/components/VContentSwitcher/VSearchTypeButton.vue @@ -9,7 +9,7 @@ v-bind="$attrs" @click="$emit('click')" > - +