Force Go and View buttons to be the same width.
This commit is contained in:
parent
256492aa55
commit
cf09321432
|
@ -1601,14 +1601,14 @@ export default function ProcessInstanceListTable({
|
||||||
) {
|
) {
|
||||||
hasAccessToCompleteTask = true;
|
hasAccessToCompleteTask = true;
|
||||||
}
|
}
|
||||||
|
console.log("Has Access to complete task?", hasAccessToCompleteTask, regex, processInstance.potential_owner_usernames)
|
||||||
let buttonText = 'View';
|
let buttonText = 'View';
|
||||||
if (hasAccessToCompleteTask && processInstance.task_id) {
|
if (hasAccessToCompleteTask && processInstance.task_id) {
|
||||||
buttonText = 'Go';
|
buttonText = 'Go';
|
||||||
}
|
}
|
||||||
|
|
||||||
buttonElement = (
|
buttonElement = (
|
||||||
<Button kind="secondary" href={interstitialUrl}>
|
<Button kind="secondary" href={interstitialUrl} style={{width:"100%"}}>
|
||||||
{buttonText}
|
{buttonText}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue