refactor: set status to undefined when editing institution
This commit is contained in:
parent
4bb2a567cf
commit
2ee65233f2
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ async function submit(opt?: { selectedImage: string }) {
|
||||||
) {
|
) {
|
||||||
const ret = await institutionStore.editInstitution(
|
const ret = await institutionStore.editInstitution(
|
||||||
Object.assign(payload, {
|
Object.assign(payload, {
|
||||||
|
status: undefined,
|
||||||
id: currAgenciesData.value.id,
|
id: currAgenciesData.value.id,
|
||||||
selectedImage: opt?.selectedImage || undefined,
|
selectedImage: opt?.selectedImage || undefined,
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue