Skip to content

Commit

Permalink
fix(logtest): minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Desvelao committed Apr 23, 2024
1 parent 3052b2f commit 3da391f
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions plugins/main/public/directives/wz-logtest/components/logtest.tsx
Expand Up @@ -49,7 +49,7 @@ type LogstestProps = {
export const Logtest = compose(
withErrorBoundary,
withReduxProvider,
withUserAuthorizationPrompt([{ action: 'logtest:run', resource: `*:*:*` }]),
withUserAuthorizationPrompt([{ action: 'logtest:run', resource: '*:*:*' }]),
)((props: LogstestProps) => {
const [events, setEvents] = useState([]);
const [testing, setTesting] = useState(false);
Expand Down Expand Up @@ -336,22 +336,7 @@ export const Logtest = compose(
</EuiFlexGroup>
</EuiPanel>
</EuiPage>
)) /*|| (
<WzFlyout flyoutProps={{ className: 'wzApp' }} onClose={() => props.openCloseFlyout()}>
<EuiFlyoutHeader hasBorder={false}>
<EuiTitle size="m">
{props.isRuleset.includes('rules') ? <h2>Ruleset Test</h2> : <h2>Decoders Test</h2>}
</EuiTitle>
</EuiFlyoutHeader>
<EuiFlyoutBody style={{ margin: '20px' }}>
<EuiFlexGroup gutterSize="m">
<EuiFlexItem />
</EuiFlexGroup>
<EuiSpacer size="s" />
{buildLogtest()}
</EuiFlyoutBody>
</WzFlyout>
)*/ || (
)) || (
<>
<EuiFlexGroup gutterSize='m'>
<EuiFlexItem />
Expand All @@ -363,5 +348,3 @@ export const Logtest = compose(
</Fragment>
);
});

//TODO: add `wzApp` className to the flyout or research if needed

0 comments on commit 3da391f

Please sign in to comment.