mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
move edit button
This commit is contained in:
1 parent
50f133aaf2
commit
39ef3bbd54
2 files changed
+6
-7
No files matched your search
+2
-4
@@ -136,7 +136,7 @@ function ModerationTtsCategoryEditPage(props: Props) {
|
||||
<div>
|
||||
<h1 className="title is-1"> Moderate TTS Category </h1>
|
||||
|
||||
<BackLink link={FrontendUrlConfig.moderationMain()} text="Back to moderation" />
|
||||
<BackLink link={FrontendUrlConfig.moderationTtsCategoryList()} text="Back to category list" />
|
||||
|
||||
<br />
|
||||
|
||||
@@ -214,9 +214,7 @@ function ModerationTtsCategoryEditPage(props: Props) {
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<BackLink link={FrontendUrlConfig.moderationMain()} text="Back to moderation" />
|
||||
<BackLink link={FrontendUrlConfig.moderationTtsCategoryList()} text="Back to category list" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -264,7 +264,6 @@ function TtsModelViewFc(props: Props) {
|
||||
if (assignedCategories.length !== 0) {
|
||||
modelCategories = (
|
||||
<>
|
||||
<h4 className="title is-4"> Model Categories </h4>
|
||||
<div className="content">
|
||||
<ul>
|
||||
{assignedCategories.map(category => {
|
||||
@@ -328,7 +327,11 @@ function TtsModelViewFc(props: Props) {
|
||||
<SessionTtsInferenceResultListFc ttsInferenceJobs={props.ttsInferenceJobs} />
|
||||
|
||||
{modelDescription}
|
||||
|
||||
<h4 className="title is-4"> Model Categories </h4>
|
||||
{modelCategories}
|
||||
{editModelCategoriesButton}
|
||||
<br />
|
||||
|
||||
<table className="table is-fullwidth">
|
||||
<tbody>
|
||||
@@ -379,8 +382,6 @@ function TtsModelViewFc(props: Props) {
|
||||
|
||||
{editModelButton}
|
||||
|
||||
{editModelCategoriesButton}
|
||||
|
||||
{deleteModelButton}
|
||||
|
||||
<br />
|
||||
|
||||
Reference in new issue
Block a user