Stack direction to orientation

This commit is contained in:
burnettk 2022-11-04 18:27:10 -04:00
parent 8be06184d5
commit 8262e2b691
8 changed files with 10 additions and 10 deletions

View File

@ -82,7 +82,7 @@ export default function ProcessGroupShow() {
]}
/>
<ul>
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Button
href={`/admin/process-models/${(processGroup as any).id}/new`}
>

View File

@ -366,7 +366,7 @@ export default function ProcessInstanceShow() {
processGroupId={params.process_group_id}
linkProcessModel
/>
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<h2>Process Instance Id: {processInstanceToUse.id}</h2>
<ButtonWithConfirmation
description="Delete Process Instance?"

View File

@ -80,7 +80,7 @@ export default function ProcessModelEdit() {
/>
<br />
<br />
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Button type="submit">Submit</Button>
<Button variant="secondary" href={`/admin/${processModelPath}`}>
Cancel

View File

@ -514,10 +514,10 @@ export default function ProcessModelEditDiagram() {
<Col xs={1}>{scriptUnitTestResultBoolElement}</Col>
</Row>
</Content>
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
{unitTestFailureElement()}
</Stack>
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Stack>
<div>Input Json:</div>
<div>

View File

@ -211,7 +211,7 @@ export default function ProcessModelShow() {
const processModelButtons = () => {
return (
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Button onClick={processInstanceCreateAndRun} variant="primary">
Run
</Button>

View File

@ -68,7 +68,7 @@ export default function SecretNew() {
}}
/>
</Form.Group>
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Button variant="primary" type="submit">
Submit
</Button>

View File

@ -65,8 +65,8 @@ export default function SecretShow() {
if (secret) {
return (
<>
<Stack direction="horizontal" gap={3}>
<h2>Secret Key: {secret.key}</h2>
<h2>Secret Key: {secret.key}</h2>
<Stack orientation="horizontal" gap={3}>
<ButtonWithConfirmation
description="Delete Secret?"
onConfirmation={deleteSecret}

View File

@ -85,7 +85,7 @@ export default function TaskShow() {
});
}
return (
<Stack direction="horizontal" gap={3}>
<Stack orientation="horizontal" gap={3}>
<Button href="/tasks">Go Back To List</Button>
{userTasksElement}
</Stack>