Misc
This commit is contained in:
parent
0e45b5da61
commit
e14fe4240e
2 changed files with 6 additions and 3 deletions
|
|
@ -125,7 +125,10 @@ export default class VaultLinkPlugin extends Plugin {
|
||||||
HistoryView.TYPE,
|
HistoryView.TYPE,
|
||||||
(leaf) => new HistoryView(leaf, database, this.history)
|
(leaf) => new HistoryView(leaf, database, this.history)
|
||||||
);
|
);
|
||||||
this.registerView(LogsView.TYPE, (leaf) => new LogsView(this, leaf));
|
this.registerView(
|
||||||
|
LogsView.TYPE,
|
||||||
|
(leaf) => new LogsView(this, database, leaf)
|
||||||
|
);
|
||||||
|
|
||||||
this.addRibbonIcon(
|
this.addRibbonIcon(
|
||||||
HistoryView.ICON,
|
HistoryView.ICON,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { Database } from "src/database/database";
|
import type { Database } from "src/database/database";
|
||||||
import type SyncPlugin from "src/plugin";
|
import type VaultLinkPlugin from "src/vault-link-plugin";
|
||||||
import type { Syncer } from "src/sync-operations/syncer";
|
import type { Syncer } from "src/sync-operations/syncer";
|
||||||
import type { HistoryStats, SyncHistory } from "src/tracing/sync-history";
|
import type { HistoryStats, SyncHistory } from "src/tracing/sync-history";
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@ export class StatusBar {
|
||||||
|
|
||||||
public constructor(
|
public constructor(
|
||||||
private readonly database: Database,
|
private readonly database: Database,
|
||||||
private readonly plugin: SyncPlugin,
|
private readonly plugin: VaultLinkPlugin,
|
||||||
history: SyncHistory,
|
history: SyncHistory,
|
||||||
syncer: Syncer
|
syncer: Syncer
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue