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