selectDashboardRef
Home > @gooddata/sdk-ui-dashboard > selectDashboardRef
selectDashboardRef variable
Selects ref of the persisted dashboard object that backs and is rendered-by the dashboard component.
Signature:
selectDashboardRef: import("@reduxjs/toolkit").OutputSelector<DashboardState, import("@gooddata/sdk-model").UriRef | import("@gooddata/sdk-model").IdentifierRef | undefined, (res: import("@gooddata/sdk-model").IDashboard<import("@gooddata/sdk-model").IDashboardWidget> | undefined) => import("@gooddata/sdk-model").UriRef | import("@gooddata/sdk-model").IdentifierRef | undefined>
Remarks
Note that this may be undefined when the dashboard component works with a dashboard that has not yet been persisted (typically newly created dashboard being edited).