mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 18:05:20 +00:00
Fix rules
This commit is contained in:
parent
b9e61ecfb1
commit
b6e014b74a
@ -316,7 +316,10 @@ export function RulesController(
|
||||
$scope.$applyAsync();
|
||||
}
|
||||
|
||||
|
||||
$scope.toggleRestartMsg = () => {
|
||||
$scope.restartMsg = false;
|
||||
$scope.$applyAsync();
|
||||
}
|
||||
|
||||
$scope.doSaveConfig = (isNewFile, fileName) => {
|
||||
const clusterInfo = appState.getClusterInfo();
|
||||
|
@ -190,9 +190,9 @@
|
||||
<div ng-show="restartMsg" class="confirmEmbedBubble confirmEmbedBubbleInline">
|
||||
<span class="wz-padding-top-10 wz-padding-left-8">Configuration is not applied yet. Do you want
|
||||
to restart to apply it?</span>
|
||||
<button class="btn cancelBtn btn-info md-padding-h" type="button" ng-click="restartMsg = false">I
|
||||
<button class="btn cancelBtn btn-info md-padding-h" type="button" ng-click="toggleRestartMsg()">I
|
||||
will do it later</button>
|
||||
<button class="btn wz-button" type="button" ng-disabled="doingSaving" ng-click="restart(); restartMsg = false">Restart
|
||||
<button class="btn wz-button" type="button" ng-disabled="doingSaving" ng-click="restart(); toggleRestartMsg()">Restart
|
||||
now</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -86,9 +86,9 @@
|
||||
<div ng-show="restartMsg" class="confirmEmbedBubble confirmEmbedBubbleInline">
|
||||
<span class="wz-padding-top-10 wz-padding-left-8">Configuration is not applied yet. Do you want
|
||||
to restart to apply it?</span>
|
||||
<button class="btn cancelBtn btn-info md-padding-h" type="button" ng-click="restartMsg = false">I
|
||||
<button class="btn cancelBtn btn-info md-padding-h" type="button" ng-click="toggleRestartMsg()">I
|
||||
will do it later</button>
|
||||
<button class="btn wz-button" type="button" ng-disabled="doingSaving" ng-click="restart(); restartMsg = false">Restart
|
||||
<button class="btn wz-button" type="button" ng-disabled="doingSaving" ng-click="restart(); toggleRestartMsg()">Restart
|
||||
now</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user