update
This commit is contained in:
parent
36d8790cb6
commit
d6d72454eb
|
|
@ -1232,6 +1232,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) {
|
||||||
</Button>
|
</Button>
|
||||||
)} */}
|
)} */}
|
||||||
|
|
||||||
|
{detailData?.isPublish == true && (
|
||||||
<Button
|
<Button
|
||||||
className="bg-red-500 text-white"
|
className="bg-red-500 text-white"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|
@ -1240,6 +1241,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) {
|
||||||
>
|
>
|
||||||
Unpublish
|
Unpublish
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
<Link href="/admin/article">
|
<Link href="/admin/article">
|
||||||
<Button color="danger" variant="outline" type="button">
|
<Button color="danger" variant="outline" type="button">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue