improved import result screen
This commit is contained in:
@@ -202,9 +202,21 @@ export default function EPUBImportPage() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex gap-4 mt-6">
|
||||
<div className="flex flex-wrap gap-4 mt-6">
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
||||
>
|
||||
Read Story
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}/edit`)}
|
||||
variant="secondary"
|
||||
>
|
||||
Edit Story
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}/detail`)}
|
||||
variant="secondary"
|
||||
>
|
||||
View Story
|
||||
</Button>
|
||||
|
||||
@@ -445,9 +445,21 @@ export default function FileImportPage() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex gap-4 mt-6">
|
||||
<div className="flex flex-wrap gap-4 mt-6">
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}`)}
|
||||
>
|
||||
Read Story
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}/edit`)}
|
||||
variant="secondary"
|
||||
>
|
||||
Edit Story
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => router.push(`/stories/${importResult.storyId}/detail`)}
|
||||
variant="secondary"
|
||||
>
|
||||
View Story
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user