Версия 1.2.14 При создании новой статьи, пока на не сохранена, не показывать блок Галерея.

This commit is contained in:
anibilag 2025-11-12 00:01:20 +03:00
parent b968cee091
commit e95f1d52a2
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "vite-react-typescript-starter", "name": "vite-react-typescript-starter",
"private": true, "private": true,
"version": "1.2.12", "version": "1.2.14",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -480,11 +480,13 @@ export function ArticleForm({
/> />
</div> </div>
<NewGalleryManager {editingId && (
articleId={articleId} <NewGalleryManager
images={displayedImages} articleId={articleId}
onChange={setDisplayedImages} images={displayedImages}
/> onChange={setDisplayedImages}
/>
)}
{showGallery && ( {showGallery && (
<div> <div>