update editor

This commit is contained in:
2026-07-24 14:02:45 +07:00
parent 7d19ca800c
commit c45b53e400
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ async function cancelUpdatePlace(place: Place) {
}
async function updatePlace(place: Place) {
if (place.fileList.length > 0) {
if (place.fileList && place.fileList.length > 0) {
const file = place.fileList[0].file || null
if (file == null) {
return