소스 검색

Dashboards now refresh the dashboard name when updated from the settings.

Kenric Nugteren 6 달 전
부모
커밋
a5e53699e4
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      prs.desktop/Dashboards/CustomDashboard.xaml.cs
  2. 1 0
      prs.desktop/Dashboards/UtilityDashboard.xaml.cs

+ 1 - 0
prs.desktop/Dashboards/CustomDashboard.xaml.cs

@@ -74,6 +74,7 @@ public partial class CustomDashboardWidget : UserControl, IDashboardWidget<Custo
             return;
         }
 
+        DataPresenter.IsPreview = false;
         DataPresenter.DataComponent = DataComponent;
         var control = DataPresenter.Setup();
 

+ 1 - 0
prs.desktop/Dashboards/UtilityDashboard.xaml.cs

@@ -636,6 +636,7 @@ namespace PRSDesktop
             {
                 grid.ClearElementTypesAndActions();
                 AddCustomDashboardsToGrid(grid, customDashboards);
+                grid.Refresh();
             }
         }
         private void AddCustomDashboardsToGrid(DynamicFormDesignGrid grid, List<CustomDashboard> customDashboards)