Make a dashboard its widgets: drop the pages and sections nobody drew
This commit is contained in:
@@ -51,7 +51,7 @@ test.beforeAll(async ({ browser }) => {
|
||||
await api(page, `/dashboards/${name}`, { method: "POST" })
|
||||
const doc = await (await api(page, `/dashboards/${name}?draft=true`)).json()
|
||||
doc.settings = { look: { value: "glass" } }
|
||||
doc.pages[0].sections[0].widgets = [
|
||||
doc.widgets = [
|
||||
{
|
||||
id: "stat",
|
||||
type: "stat",
|
||||
|
||||
Reference in New Issue
Block a user