refactor(front): no 'edit' button in header of profile page
This commit is contained in:
parent
e99fc3b8aa
commit
b5eb1dc586
|
@ -115,15 +115,6 @@ const submit = async () => {
|
||||||
<p v-else-if="!isUpdating">
|
<p v-else-if="!isUpdating">
|
||||||
{{ t('components.common.RenderedDescription.empty.noDescription') }}
|
{{ t('components.common.RenderedDescription.empty.noDescription') }}
|
||||||
</p>
|
</p>
|
||||||
<template v-if="!isUpdating && canUpdate && updateUrl">
|
|
||||||
<Button
|
|
||||||
role="button"
|
|
||||||
icon="bi-pencil"
|
|
||||||
@click="isUpdating = true"
|
|
||||||
>
|
|
||||||
{{ t('components.common.RenderedDescription.button.edit') }}
|
|
||||||
</Button>
|
|
||||||
</template>
|
|
||||||
<form
|
<form
|
||||||
v-if="isUpdating"
|
v-if="isUpdating"
|
||||||
@submit.prevent="submit()"
|
@submit.prevent="submit()"
|
||||||
|
|
Loading…
Reference in New Issue