generated from VLADIMIR/template_frontend
update editor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user