mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-03 02:11:07 +05:30
feat(renderer): GitStatusPanel sidebar tab + git.refresh event
This commit is contained in:
@@ -66,7 +66,7 @@ export function registerMenuCommands(): void {
|
||||
if (typeof window !== 'undefined') window.dispatchEvent(new CustomEvent('mc:print'));
|
||||
},
|
||||
'git.refresh': () => {
|
||||
/* stub — actual refresh is a useEffect in GitStatusPanel */
|
||||
if (typeof window !== 'undefined') window.dispatchEvent(new CustomEvent('mc:git-refresh'));
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user