Commit 4af3a787 by Marcus Efraimsson Committed by GitHub

Merge pull request #11349 from grafana/save_trash

Fix save icon in folder settings
parents 22fffe0d 99626b8e
...@@ -143,7 +143,7 @@ export class FolderSettings extends React.Component<IContainerProps, any> { ...@@ -143,7 +143,7 @@ export class FolderSettings extends React.Component<IContainerProps, any> {
className="btn btn-success" className="btn btn-success"
disabled={!folder.folder.canSave || !folder.folder.hasChanged} disabled={!folder.folder.canSave || !folder.folder.hasChanged}
> >
<i className="fa fa-trash" /> Save <i className="fa fa-save" /> Save
</button> </button>
<button className="btn btn-danger" onClick={this.delete.bind(this)} disabled={!folder.folder.canSave}> <button className="btn btn-danger" onClick={this.delete.bind(this)} disabled={!folder.folder.canSave}>
<i className="fa fa-trash" /> Delete <i className="fa fa-trash" /> Delete
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
</div> </div>
<div class="gf-form-button-row"> <div class="gf-form-button-row">
<button type="submit" class="btn btn-success" ng-disabled="!ctrl.canSave || !ctrl.hasChanged"> <button type="submit" class="btn btn-success" ng-disabled="!ctrl.canSave || !ctrl.hasChanged">
<i class="fa fa-trash"></i> <i class="fa fa-save"></i>Save
Save
</button> </button>
<button class="btn btn-danger" ng-click="ctrl.delete($event)" ng-disabled="!ctrl.canSave"> <button class="btn btn-danger" ng-click="ctrl.delete($event)" ng-disabled="!ctrl.canSave">
<i class="fa fa-trash"></i> <i class="fa fa-trash"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment