mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Check the admin mode (#1836)
This commit is contained in:
parent
fc0e59e036
commit
de69af3b11
@ -22,7 +22,6 @@ import {
|
||||
EuiListGroup,
|
||||
EuiTitle,
|
||||
EuiText,
|
||||
EuiIcon,
|
||||
EuiSpacer,
|
||||
EuiPopover
|
||||
} from '@elastic/eui';
|
||||
|
@ -16,7 +16,7 @@
|
||||
<span class="euiButtonEmpty__text">Export formatted</span>
|
||||
</span>
|
||||
</button>
|
||||
<react-component name="UploadFiles" props="mctrl.uploadFilesProps" class="wz-margin-left-10"/>
|
||||
<react-component ng-if="mctrl.adminMode" name="UploadFiles" props="mctrl.uploadFilesProps" class="wz-margin-left-10"/>
|
||||
<button type="button" ng-click="cdbctrl.refresh()" class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small wz-margin-left-10">
|
||||
<span class="euiButtonEmpty__content">
|
||||
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
||||
|
@ -19,7 +19,7 @@
|
||||
new {{mctrl.globalRulesetTab}} file</span>
|
||||
</span>
|
||||
</button>
|
||||
<react-component name="UploadFiles" props="mctrl.uploadFilesProps" class="wz-margin-left-10"/>
|
||||
<react-component ng-if="mctrl.adminMode" name="UploadFiles" props="mctrl.uploadFilesProps" class="wz-margin-left-10"/>
|
||||
<button type="button" ng-click="filesctrl.refresh()" class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small wz-margin-left-10">
|
||||
<span class="euiButtonEmpty__content">
|
||||
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
||||
|
Loading…
Reference in New Issue
Block a user