mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 13:39:01 +01:00
chore(react/floating_buttons): fix wrong import of fnote
This commit is contained in:
parent
938d295bf3
commit
af0ba32dd9
@ -64,7 +64,7 @@ export interface NoteMetaData {
|
|||||||
/**
|
/**
|
||||||
* Note is the main node and concept in Trilium.
|
* Note is the main node and concept in Trilium.
|
||||||
*/
|
*/
|
||||||
class FNote {
|
export default class FNote {
|
||||||
private froca: Froca;
|
private froca: Froca;
|
||||||
|
|
||||||
noteId!: string;
|
noteId!: string;
|
||||||
@ -1035,5 +1035,3 @@ class FNote {
|
|||||||
return await server.get<NoteMetaData>(`notes/${this.noteId}/metadata`);
|
return await server.get<NoteMetaData>(`notes/${this.noteId}/metadata`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default FNote;
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { NoteType } from "@triliumnext/commons";
|
import { NoteType } from "@triliumnext/commons";
|
||||||
import { ViewTypeOptions } from "./note_list_renderer";
|
import { ViewTypeOptions } from "./note_list_renderer";
|
||||||
import { FNote } from "./frontend_script_entrypoint";
|
import FNote from "../entities/fnote";
|
||||||
|
|
||||||
export const byNoteType: Record<Exclude<NoteType, "book">, string | null> = {
|
export const byNoteType: Record<Exclude<NoteType, "book">, string | null> = {
|
||||||
canvas: null,
|
canvas: null,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import type { ViewScope } from "./link.js";
|
import type { ViewScope } from "./link.js";
|
||||||
import { FNote } from "./frontend_script_entrypoint.js";
|
import FNote from "../entities/fnote";
|
||||||
|
|
||||||
const SVG_MIME = "image/svg+xml";
|
const SVG_MIME = "image/svg+xml";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user