Skip to content

Commit fdac9ae

Browse files
committed
make openNotification public for unittest
1 parent 5912355 commit fdac9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/notifications/panelNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class NotificationsNode implements TreeNode {
123123
* Fired when a notification is clicked on in the panel. It will run any rendering
124124
* instructions included in the notification. See {@link ToolkitNotification.uiRenderInstructions}.
125125
*/
126-
private async openNotification(notification: ToolkitNotification) {
126+
public async openNotification(notification: ToolkitNotification) {
127127
switch (notification.uiRenderInstructions.onClick.type) {
128128
case 'modal':
129129
// Render blocking modal

0 commit comments

Comments
 (0)