diff --git a/frontend/src/views/Admin.vue b/frontend/src/views/Admin.vue index 139237e..9ff286c 100644 --- a/frontend/src/views/Admin.vue +++ b/frontend/src/views/Admin.vue @@ -428,7 +428,7 @@ async function downloadAuth(v) { } async function deleteVideo(v) { - const shortTitle = v.title && v.title.length > 30 ? v.title.slice(0, 30) + '…' : (v.title || 'Untitled') + const shortTitle = v.title && v.title.length > 20 ? v.title.slice(0, 20) + '…' : (v.title || 'Untitled') if (!confirm(`Delete #${v.id} "${shortTitle}"?`)) return try { await axios.delete(`/api/admin/videos/${v.id}`, { headers: auth.getHeaders() })