added new import format

This commit is contained in:
daniel31x13
2024-05-25 18:26:24 -04:00
parent 75d91fbac7
commit b0ea14737f
5 changed files with 141 additions and 3 deletions
+20
View File
@@ -366,6 +366,26 @@ export default function Account() {
/>
</label>
</li>
<li>
<label
tabIndex={0}
role="button"
htmlFor="import-wallabag-file"
title="Wallabag File"
>
From Wallabag (JSON file)
<input
type="file"
name="photo"
id="import-wallabag-file"
accept=".json"
className="hidden"
onChange={(e) =>
importBookmarks(e, MigrationFormat.wallabag)
}
/>
</label>
</li>
</ul>
</div>
</div>