mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
Refresh agent dashboard panel after create\update\delete operations (#1861)
* Edit alert WIP * A couple alert edit bugs * Hook up dashboard refresh notification * Hook onchange event to other agent service calls * Switch update handler to scalar value * Add null check on handler callback
This commit is contained in:
@@ -265,6 +265,10 @@ export function createApiFactory(
|
||||
};
|
||||
|
||||
let registerAgentServicesProvider = (provider: sqlops.AgentServicesProvider): vscode.Disposable => {
|
||||
provider.registerOnUpdated(() => {
|
||||
extHostDataProvider.$onJobDataUpdated(provider.handle);
|
||||
});
|
||||
|
||||
return extHostDataProvider.$registerAgentServiceProvider(provider);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user