Update configuration settings, show or hide buttons and task notifications
This commit is contained in:
		| @ -161,7 +161,7 @@ export default class KanbnTaskPanel { | ||||
|           KanbnTaskPanel.panels[message.panelUuid]._taskId = message.taskData.id; | ||||
|           KanbnTaskPanel.panels[message.panelUuid]._columnName = message.taskData.column; | ||||
|           KanbnTaskPanel.panels[message.panelUuid].update(); | ||||
|           if (vscode.workspace.getConfiguration('vscode-kanbn').get('showTaskNotifications')) { | ||||
|           if (vscode.workspace.getConfiguration('kanbn').get('showTaskNotifications')) { | ||||
|             vscode.window.showInformationMessage(`Created task '${message.taskData.name}'.`); | ||||
|           } | ||||
|           return; | ||||
| @ -172,7 +172,7 @@ export default class KanbnTaskPanel { | ||||
|           KanbnTaskPanel.panels[message.panelUuid]._taskId = message.taskData.id; | ||||
|           KanbnTaskPanel.panels[message.panelUuid]._columnName = message.taskData.column; | ||||
|           KanbnTaskPanel.panels[message.panelUuid].update(); | ||||
|           if (vscode.workspace.getConfiguration('vscode-kanbn').get('showTaskNotifications')) { | ||||
|           if (vscode.workspace.getConfiguration('kanbn').get('showTaskNotifications')) { | ||||
|             vscode.window.showInformationMessage(`Updated task '${message.taskData.name}'.`); | ||||
|           } | ||||
|           return; | ||||
| @ -185,7 +185,7 @@ export default class KanbnTaskPanel { | ||||
|                 await this._kanbn.deleteTask(message.taskId, true); | ||||
|                 KanbnTaskPanel.panels[message.panelUuid].dispose(); | ||||
|                 delete KanbnTaskPanel.panels[message.panelUuid]; | ||||
|                 if (vscode.workspace.getConfiguration('vscode-kanbn').get('showTaskNotifications')) { | ||||
|                 if (vscode.workspace.getConfiguration('kanbn').get('showTaskNotifications')) { | ||||
|                   vscode.window.showInformationMessage(`Deleted task '${message.taskData.name}'.`); | ||||
|                 } | ||||
|               } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user