update editor

This commit is contained in:
2026-07-28 00:02:03 +07:00
parent 035bf4c30d
commit 5d3044abb9
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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>