Skip to content

Commit 5312e00

Browse files
committed
Delay setting d-h:enabled
1 parent 698564d commit 5312e00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ export function activate(context: ExtensionContext) {
261261
.then(() => {
262262
setTimeout(() => {
263263
diplomat.pushParameters(context).then(() => dataprovider.refresh())
264+
// Elements may use this variable to toggle visibility on extension availability.
265+
void commands.executeCommand('setContext', 'diplomat-host:enabled', true);
266+
console.log('Diplomat activation completed');
264267
},500)
265268
});
266269

267-
// Elements may use this variable to toggle visibility on extension availability.
268-
void commands.executeCommand('setContext', 'diplomat-host:enabled', true);
269-
console.log('Diplomat activation completed');
270270
}
271271

272272

0 commit comments

Comments
 (0)