url fixed

This commit is contained in:
burakovec
2025-08-14 15:02:20 +03:00
parent 97a77a2a37
commit 624b8fae56

View File

@ -10,7 +10,7 @@
@click="ReplaceImage" @click="ReplaceImage"
onlyPreview onlyPreview
:filePath="file.fileUrl"> :filePath="file.fileUrl">
<template #actionButtons v-if="!usersStore.isPanelUser"> <template #actionButtons >
<i <i
class="ico-c ico-btn ico-section back-grad-alert" class="ico-c ico-btn ico-section back-grad-alert"
@click="DeleteImagePop(file)"> @click="DeleteImagePop(file)">
@ -136,7 +136,7 @@
} }
const DeleteImage = async (id: number | string) => { const DeleteImage = async (id: number | string) => {
var dt = await dataStore.dataDelete('Popup/' + id) var dt = await dataStore.dataDelete('DocumentPage/' + id)
if (dt !== 'errorfalse') { if (dt !== 'errorfalse') {
dialogStore.CloseDialog('deleteimage') dialogStore.CloseDialog('deleteimage')