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;
|
||||
}
|
||||
|
||||
console.log("Has Access to complete task?", hasAccessToCompleteTask, regex, processInstance.potential_owner_usernames)
|
||||
let buttonText = 'View';
|
||||
if (hasAccessToCompleteTask && processInstance.task_id) {
|
||||
buttonText = 'Go';
|
||||
}
|
||||
|
||||
buttonElement = (
|
||||
<Button kind="secondary" href={interstitialUrl}>
|
||||
<Button kind="secondary" href={interstitialUrl} style={{width:"100%"}}>
|
||||
{buttonText}
|
||||
</Button>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue