Files
baserow/web-frontend/modules/core/plugins/hasFeature.js
Jérémie PardouandJonathan Adeline ca72db9a16 Nuxt3 builder fixes and cleanup (#4657)
* Fix preview error with page parameter

* Fix OIDC form support

* Fix input border color

* Fix some builder inputs

* Clear some TODO MIGs

* Clean comments

* Update snapshot

* Fix page title

* Fix reactivity issue

* refactor: replace individual RadioButtons with a RadioGroup component for choice option type selection.

* Fix domain

---------

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
2026-02-11 11:07:26 +01:00

9 lines
283 B
JavaScript

export default defineNuxtPlugin((nuxtApp) => {
const hasFeature = (feature, forSpecificWorkspace) =>
Object.values(nuxtApp.$registry.getAll('plugin')).some((plugin) =>
plugin.hasFeature(feature, forSpecificWorkspace)
)
nuxtApp.provide('hasFeature', hasFeature)
})