Dashboards: add isPublic to dto and remove public endpoint call (#113334)
--------- Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
This commit is contained in:
co-authored by
Matheus Macabu
parent
867e8bb98f
commit
4cecab3185
@@ -845,6 +845,7 @@ export type DashboardAccess = {
|
||||
/** The permissions part */
|
||||
canSave: boolean;
|
||||
canStar: boolean;
|
||||
isPublic: boolean;
|
||||
/** Metadata fields */
|
||||
slug?: string;
|
||||
url?: string;
|
||||
|
||||
+1
@@ -27,6 +27,7 @@ const dashboardToAppPlatform = (dashboard: (typeof mockTree)[number]['item']) =>
|
||||
},
|
||||
status: {},
|
||||
// TODO: Eventually add access properties, as required by tests
|
||||
access: {},
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user