Jelajahi Sumber

fix(datasources): fixes header condition

closes #4402
bergquist 9 tahun lalu
induk
melakukan
4c7f638f3c
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      public/app/features/plugins/partials/ds_edit.html

+ 2 - 2
public/app/features/plugins/partials/ds_edit.html

@@ -4,8 +4,8 @@
 <div class="page-container">
 
   <div class="page-header">
-		<h1 ng-show="isNew">Add data source</h1>
-		<h1 ng-show="!isNew">Edit data source</h1>
+		<h1 ng-show="ctrl.isNew">Add data source</h1>
+		<h1 ng-hide="ctrl.isNew">Edit data source</h1>
 
 		<div class="page-header-tabs" ng-show="ctrl.hasDashboards">
 			<ul class="gf-tabs">