You've already forked obsidian-visualiser
Rename RedrawableHTML, remove File API rate limite and fix pull job transaction.
This commit is contained in:
@@ -16,6 +16,7 @@ const schemaList: Record<string, z.ZodObject<any> | null> = {
|
||||
import { z } from 'zod/v4';
|
||||
import { Icon } from '@iconify/vue';
|
||||
import { Toaster } from '~~/shared/components';
|
||||
import { Content } from '~~/shared/content';
|
||||
|
||||
definePageMeta({
|
||||
rights: ['admin'],
|
||||
@@ -51,6 +52,9 @@ async function fetch()
|
||||
error.value = null;
|
||||
success.value = true;
|
||||
|
||||
if(job.value === 'pull')
|
||||
await Content.pull(true);
|
||||
|
||||
Toaster.add({ duration: 10000, content: data.value ?? 'Job executé avec succès', type: 'success', timer: true, });
|
||||
}
|
||||
catch(e)
|
||||
|
||||
Reference in New Issue
Block a user