in src/app/app.ts [33:45]
action: async (actionContext: IActionContext) => {
if (actionContext && actionContext.query && actionContext.query.wiql) {
openDialog(actionContext);
} else {
const hostDialogService = await VSS.getService<IHostDialogService>(VSS.ServiceIds.Dialog);
hostDialogService.openMessageDialog(
`In order to open your query, please save it first in "My Queries" or "Shared Queries".`,
{
title: 'Unable to perform this operation',
buttons: [hostDialogService.buttons.ok],
});
}
},