move after unit tests and use upload icon, w/ lantz
This commit is contained in:
parent
e5a37b3cfe
commit
e6ef26e5c6
|
@ -5,7 +5,7 @@ import {
|
||||||
Edit,
|
Edit,
|
||||||
Favorite,
|
Favorite,
|
||||||
TrashCan,
|
TrashCan,
|
||||||
NextOutline,
|
Upload,
|
||||||
View,
|
View,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
} from '@carbon/icons-react';
|
} from '@carbon/icons-react';
|
||||||
|
@ -664,7 +664,7 @@ export default function ProcessModelShow() {
|
||||||
<Button
|
<Button
|
||||||
kind="ghost"
|
kind="ghost"
|
||||||
data-qa="publish-process-model-button"
|
data-qa="publish-process-model-button"
|
||||||
renderIcon={NextOutline}
|
renderIcon={Upload}
|
||||||
iconDescription="Publish Changes"
|
iconDescription="Publish Changes"
|
||||||
hasIconOnly
|
hasIconOnly
|
||||||
onClick={publishProcessModel}
|
onClick={publishProcessModel}
|
||||||
|
@ -707,6 +707,15 @@ export default function ProcessModelShow() {
|
||||||
</Button>
|
</Button>
|
||||||
</Can>
|
</Can>
|
||||||
) : null}
|
) : null}
|
||||||
|
<Can
|
||||||
|
I="POST"
|
||||||
|
a={targetUris.processModelTestsPath}
|
||||||
|
ability={ability}
|
||||||
|
>
|
||||||
|
{hasTestCaseFiles ? (
|
||||||
|
<ProcessModelTestRun buttonType="text" />
|
||||||
|
) : null}
|
||||||
|
</Can>
|
||||||
<Can
|
<Can
|
||||||
I="POST"
|
I="POST"
|
||||||
a={targetUris.processModelFileCreatePath}
|
a={targetUris.processModelFileCreatePath}
|
||||||
|
@ -715,11 +724,6 @@ export default function ProcessModelShow() {
|
||||||
{newUx2 ? addFileComponent() : null}
|
{newUx2 ? addFileComponent() : null}
|
||||||
</Can>
|
</Can>
|
||||||
</Can>
|
</Can>
|
||||||
<Can I="POST" a={targetUris.processModelTestsPath} ability={ability}>
|
|
||||||
{hasTestCaseFiles ? (
|
|
||||||
<ProcessModelTestRun buttonType="text" />
|
|
||||||
) : null}
|
|
||||||
</Can>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
{processModelFilesSection()}
|
{processModelFilesSection()}
|
||||||
<Can I="GET" a={targetUris.processInstanceListPath} ability={ability}>
|
<Can I="GET" a={targetUris.processInstanceListPath} ability={ability}>
|
||||||
|
|
Loading…
Reference in New Issue