diff --git a/src/components/DatetimeString.vue b/src/components/DatetimeString.vue index 0db595c..812ef20 100644 --- a/src/components/DatetimeString.vue +++ b/src/components/DatetimeString.vue @@ -54,7 +54,12 @@ function handleGenerate () { } function handleCancel () { - parent.postMessage({ pluginMessage: { action: 'cancel' } }, '*') + parent.postMessage({ + pluginMessage: { + tab: 'dateTime', + action: 'cancel' + } + }, '*') } diff --git a/src/components/NumericString.vue b/src/components/NumericString.vue index b98a1e8..1878c3d 100644 --- a/src/components/NumericString.vue +++ b/src/components/NumericString.vue @@ -52,7 +52,12 @@ function handleGenerate () { } function handleCancel () { - parent.postMessage({ pluginMessage: { action: 'cancel' } }, '*') + parent.postMessage({ + pluginMessage: { + tab: 'numeric', + action: 'cancel' + } + }, '*') }