|
|
|
@ -46,7 +46,7 @@ export const setupEvents = (plugin: RunTab) => { |
|
|
|
|
setFinalContext(plugin, dispatch) |
|
|
|
|
fillAccountsList(plugin, dispatch) |
|
|
|
|
// 'contextChanged' & 'networkStatus' both are triggered on workspace & network change
|
|
|
|
|
// There is chance that pinned contracts state is overrided by othe event
|
|
|
|
|
// There is chance that pinned contracts state is overridden by other event
|
|
|
|
|
// We load pinned contracts for VM environment in this event
|
|
|
|
|
// and for other environments in 'networkStatus' event
|
|
|
|
|
if (context.startsWith('vm')) await loadPinnedContracts(plugin, dispatch, context) |
|
|
|
|