mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(playlist): remove start button from edit page
This commit is contained in:
@@ -106,10 +106,6 @@
|
||||
|
||||
<div class="pull-left" style="margin-top: 25px;">
|
||||
<!-- <div class="tight-form"> -->
|
||||
<button type="button"
|
||||
class="btn btn-success"
|
||||
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"
|
||||
ng-click="startPlaylist(playlist, dashboards)">Start</button>
|
||||
<button type="button"
|
||||
class="btn btn-success"
|
||||
ng-disabled="playlistEditForm.$invalid || isPlaylistEmpty()"
|
||||
|
||||
@@ -98,10 +98,6 @@ function (angular, config, _) {
|
||||
return !$scope.playlist.id;
|
||||
};
|
||||
|
||||
$scope.startPlaylist = function(playlist, dashboards) {
|
||||
playlistSrv.start(dashboards, playlist.timespan);
|
||||
};
|
||||
|
||||
$scope.isPlaylistEmpty = function() {
|
||||
return !$scope.playlistItems.length;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user