fix: migration item in setting detail omit buttons (#3298)
Signed-off-by: James <namnh0122@gmail.com>
This commit is contained in:
parent
aa7dbdc9fa
commit
709204b2bc
@ -42,6 +42,7 @@ const DownloadStatus: React.FC = () => {
|
||||
|
||||
const downloadTitle = `Downloading ${downloadStates
|
||||
.map((state) => state.type)
|
||||
.filter((value, index, self) => self.indexOf(value) === index)
|
||||
.join(', ')
|
||||
.trim()}`
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ const DataMigration: React.FC = () => {
|
||||
|
||||
return (
|
||||
<div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row">
|
||||
<div className="flex-shrink-0 space-y-1">
|
||||
<div className="space-y-1">
|
||||
<div className="flex gap-x-2">
|
||||
<h6 className="font-semibold capitalize">
|
||||
Migrate data from old version of Jan app
|
||||
@ -52,7 +52,7 @@ const DataMigration: React.FC = () => {
|
||||
using the remove threads button to clean up existing threads data
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-row gap-x-2">
|
||||
<div className="flex flex-shrink-0 flex-row gap-x-2">
|
||||
<Button theme="primary" onClick={onStartMigrationClick}>
|
||||
Start migration
|
||||
</Button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user