Provisioning: Show file path of provisioning file in save/delete dialogs (#16706)
* Add file path to metadata and show it in dialogs * Make path relative to config directory * Fix tests * Add test for the relative path * Refactor to use path relative to provisioner path * Change return types * Rename attribute * Small fixes from review
This commit is contained in:
@@ -323,15 +323,13 @@ type GetDashboardSlugByIdQuery struct {
|
||||
Result string
|
||||
}
|
||||
|
||||
type IsDashboardProvisionedQuery struct {
|
||||
type GetProvisionedDashboardDataByIdQuery struct {
|
||||
DashboardId int64
|
||||
|
||||
Result bool
|
||||
Result *DashboardProvisioning
|
||||
}
|
||||
|
||||
type GetProvisionedDashboardDataQuery struct {
|
||||
Name string
|
||||
|
||||
Name string
|
||||
Result []*DashboardProvisioning
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user