feat: add dynamic position to editable cards, reject/authorize buttons
This commit is contained in:
parent
412f11f7f0
commit
d435f24105
1 changed files with 5 additions and 0 deletions
|
|
@ -123,7 +123,12 @@ const EditableCard = ({
|
||||||
[classes.label1Rejected]: state === OVERRIDE_REJECTED,
|
[classes.label1Rejected]: state === OVERRIDE_REJECTED,
|
||||||
[classes.label1Accepted]: state === OVERRIDE_AUTHORIZED
|
[classes.label1Accepted]: state === OVERRIDE_AUTHORIZED
|
||||||
}
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
=======
|
||||||
|
const isNotAuthorized =
|
||||||
|
state === OVERRIDE_REJECTED || state === OVERRIDE_PENDING
|
||||||
|
>>>>>>> feat: add dynamic position to editable cards, reject/authorize buttons
|
||||||
const authorized =
|
const authorized =
|
||||||
state === OVERRIDE_PENDING
|
state === OVERRIDE_PENDING
|
||||||
? { label: 'Pending', type: 'neutral' }
|
? { label: 'Pending', type: 'neutral' }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue