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,
|
EuiListGroup,
|
||||||
EuiTitle,
|
EuiTitle,
|
||||||
EuiText,
|
EuiText,
|
||||||
EuiIcon,
|
|
||||||
EuiSpacer,
|
EuiSpacer,
|
||||||
EuiPopover
|
EuiPopover
|
||||||
} from '@elastic/eui';
|
} from '@elastic/eui';
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<span class="euiButtonEmpty__text">Export formatted</span>
|
<span class="euiButtonEmpty__text">Export formatted</span>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</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">
|
<button type="button" ng-click="cdbctrl.refresh()" class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small wz-margin-left-10">
|
||||||
<span class="euiButtonEmpty__content">
|
<span class="euiButtonEmpty__content">
|
||||||
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
new {{mctrl.globalRulesetTab}} file</span>
|
new {{mctrl.globalRulesetTab}} file</span>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</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">
|
<button type="button" ng-click="filesctrl.refresh()" class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small wz-margin-left-10">
|
||||||
<span class="euiButtonEmpty__content">
|
<span class="euiButtonEmpty__content">
|
||||||
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
<react-component name="EuiIcon" props="{type:'refresh'}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user