Skip to content

Commit 4a71fe5

Browse files
committed
Restore start-push-image IPC listener; correct start-push-aux-image error prefix
1 parent 665a737 commit 4a71fe5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

webui/src/js/windowStateUtils.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ function(wktProject, wktConsole, wdtDiscoverer, dialogHelper, projectIO,
110110
});
111111
});
112112

113+
window.api.ipc.receive('start-push-image', async () => {
114+
blurSelection();
115+
imagePusher.startPushImage().then(() => Promise.resolve()).catch(err => {
116+
displayCatchAllError('image-pusher-push', err).then(() => Promise.resolve());
117+
});
118+
});
119+
113120
window.api.ipc.receive('start-create-aux-image', async () => {
114121
blurSelection();
115122
witAuxImageCreator.startCreateAuxImage().then(() => Promise.resolve()).catch(err => {
@@ -120,7 +127,7 @@ function(wktProject, wktConsole, wdtDiscoverer, dialogHelper, projectIO,
120127
window.api.ipc.receive('start-push-aux-image', async () => {
121128
blurSelection();
122129
auxImagePusher.startPushAuxImage().then(() => Promise.resolve()).catch(err => {
123-
displayCatchAllError('image-pusher-push-aux', err).then(() => Promise.resolve());
130+
displayCatchAllError('aux-image-pusher-push', err).then(() => Promise.resolve());
124131
});
125132
});
126133

0 commit comments

Comments
 (0)