diff --git a/assets/dashboard/core/Gallery.js b/assets/dashboard/core/Gallery.js index d3a6e86b3..e949cd61d 100644 --- a/assets/dashboard/core/Gallery.js +++ b/assets/dashboard/core/Gallery.js @@ -146,7 +146,7 @@ const Gallery = (function PrivateGallery($) { Gallery.ajax('GET', `/api/v1/images/?query=${query}${preset ? `&preset=${preset}` : ''}`, null, (data) => { const images = data.results.map(image => ({ ...image, - timestamp: new Intl.DateTimeFormat("nb-NO", { dateStyle: "short", timeStyle: "medium" }).format(new Date(image.timpstamp)), + timestamp: new Intl.DateTimeFormat("nb-NO", { dateStyle: "short", timeStyle: "medium" }).format(new Date(image.timestamp)), })); let html = render(TMPL_IMAGE_SEARCH_RESULT, { images }); if (!data.results.length) html = '
Ingen bilder matchet søket...