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
|
const downloadTitle = `Downloading ${downloadStates
|
||||||
.map((state) => state.type)
|
.map((state) => state.type)
|
||||||
|
.filter((value, index, self) => self.indexOf(value) === index)
|
||||||
.join(', ')
|
.join(', ')
|
||||||
.trim()}`
|
.trim()}`
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ const DataMigration: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
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 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">
|
<div className="flex gap-x-2">
|
||||||
<h6 className="font-semibold capitalize">
|
<h6 className="font-semibold capitalize">
|
||||||
Migrate data from old version of Jan app
|
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
|
using the remove threads button to clean up existing threads data
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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}>
|
<Button theme="primary" onClick={onStartMigrationClick}>
|
||||||
Start migration
|
Start migration
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user