Версия 1.2.14 При создании новой статьи, пока на не сохранена, не показывать блок Галерея.
This commit is contained in:
parent
b968cee091
commit
e95f1d52a2
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "vite-react-typescript-starter",
|
||||
"private": true,
|
||||
"version": "1.2.12",
|
||||
"version": "1.2.14",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@ -480,11 +480,13 @@ export function ArticleForm({
|
||||
/>
|
||||
</div>
|
||||
|
||||
<NewGalleryManager
|
||||
articleId={articleId}
|
||||
images={displayedImages}
|
||||
onChange={setDisplayedImages}
|
||||
/>
|
||||
{editingId && (
|
||||
<NewGalleryManager
|
||||
articleId={articleId}
|
||||
images={displayedImages}
|
||||
onChange={setDisplayedImages}
|
||||
/>
|
||||
)}
|
||||
|
||||
{showGallery && (
|
||||
<div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user