mirror of
https://github.com/baserow/baserow.git
synced 2026-12-05 00:38:35 +00:00
35 lines
853 B
Vue
35 lines
853 B
Vue
<template>
|
|
<ClientOnly>
|
|
<DashboardWidgetGrid :dashboard="dashboard" :store-prefix="storePrefix" />
|
|
<template #fallback>
|
|
<div
|
|
class="dashboard-widget-board__fallback"
|
|
data-testid="dashboard-widget-board-fallback"
|
|
>
|
|
<DashboardWidgetGridLoading />
|
|
</div>
|
|
</template>
|
|
</ClientOnly>
|
|
</template>
|
|
|
|
<script>
|
|
import DashboardWidgetGrid from '@baserow/modules/dashboard/components/DashboardWidgetGrid.client'
|
|
import DashboardWidgetGridLoading from '@baserow/modules/dashboard/components/DashboardWidgetGridLoading'
|
|
|
|
export default {
|
|
name: 'WidgetBoard',
|
|
components: { DashboardWidgetGrid, DashboardWidgetGridLoading },
|
|
props: {
|
|
dashboard: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
storePrefix: {
|
|
type: String,
|
|
required: false,
|
|
default: '',
|
|
},
|
|
},
|
|
}
|
|
</script>
|