fix: update color logic for cancellation badge and correct API endpoint for reject request cancel
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
This commit is contained in:
parent
c1adc9dee3
commit
ab51d7a8db
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ function changeableStatus(currentStatus?: RequestWorkStatus) {
|
|||
</div>
|
||||
<BadgeComponent
|
||||
v-if="requestCancel && !cancel"
|
||||
:hsla-color="'--red-5-hsl'"
|
||||
:hsla-color="rejectRequestCancel ? '--blue-6-hsl' : '--red-5-hsl'"
|
||||
class="q-ml-sm"
|
||||
:title="
|
||||
rejectRequestCancel
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ export const useRequestList = defineStore('request-list', () => {
|
|||
},
|
||||
) {
|
||||
const res = await api.post(
|
||||
`/request-data/{requestDataId}/request-work/${requestWorkId}/reject-request-cancel`,
|
||||
`/request-data/${requestDataId}/request-work/${requestWorkId}/reject-request-cancel`,
|
||||
body,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue