generated from VLADIMIR/template_frontend
update editor
This commit is contained in:
@@ -277,11 +277,11 @@ async function deletePlace(place: Place) {
|
||||
</PlaceBlock>
|
||||
|
||||
<PlaceBlock :place="place" v-model:mode="place.mode" v-for="place in scenario.story?.places"
|
||||
v-bind:key="place.code">
|
||||
v-bind:key="place.oldCode">
|
||||
<n-flex justify="end">
|
||||
<n-button @click="deletePlace(place)" type="error" ghost>Удалить</n-button>
|
||||
<n-button @click="cancelUpdatePlace(place)">Отмена</n-button>
|
||||
<n-button @click="updatePlace(place)">Сохранить</n-button>
|
||||
<n-button @click="updatePlace(place)" :disabled="place.code == ''">Сохранить</n-button>
|
||||
</n-flex>
|
||||
</PlaceBlock>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user