Allow css override for custom board styles

This commit is contained in:
Gordon
2021-03-30 00:53:12 +01:00
parent c67e126f5d
commit 5fd611c2ff
2 changed files with 26 additions and 10 deletions

View File

@ -62,7 +62,11 @@ export async function activate(context: vscode.ExtensionContext) {
// If kanbn is initialised, view the kanbn board
if (await kanbn.initialised()) {
KanbnBoardPanel.createOrShow(context.extensionPath, kanbn);
KanbnBoardPanel.createOrShow(
context.extensionPath,
vscode.workspace.workspaceFolders[0].uri.fsPath,
kanbn
);
KanbnBoardPanel.update();
} else {
vscode.window.showErrorMessage('You need to initialise kanbn before viewing the kanbn board.');