fix: plugin dashboard did not get plugin id after import
This commit is contained in:
@@ -113,6 +113,7 @@ func (dr *dashboardServiceImpl) buildSaveDashboardCommand(dto *SaveDashboardDTO)
|
|||||||
UserId: dto.User.UserId,
|
UserId: dto.User.UserId,
|
||||||
FolderId: dash.FolderId,
|
FolderId: dash.FolderId,
|
||||||
IsFolder: dash.IsFolder,
|
IsFolder: dash.IsFolder,
|
||||||
|
PluginId: dash.PluginId,
|
||||||
}
|
}
|
||||||
|
|
||||||
if !dto.UpdatedAt.IsZero() {
|
if !dto.UpdatedAt.IsZero() {
|
||||||
|
|||||||
@@ -9,9 +9,7 @@
|
|||||||
<a href="{{dash.importedUrl}}" ng-show="dash.imported">
|
<a href="{{dash.importedUrl}}" ng-show="dash.imported">
|
||||||
{{dash.title}}
|
{{dash.title}}
|
||||||
</a>
|
</a>
|
||||||
<span ng-show="!dash.imported">
|
<span ng-show="!dash.imported">{{dash.title}}</span>
|
||||||
{{dash.title}}
|
|
||||||
</span>
|
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
<button class="btn btn-secondary btn-small" ng-click="ctrl.import(dash, false)" ng-show="!dash.imported">
|
<button class="btn btn-secondary btn-small" ng-click="ctrl.import(dash, false)" ng-show="!dash.imported">
|
||||||
|
|||||||
Reference in New Issue
Block a user