Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -57,6 +57,8 @@ watch( |
57 | 57 | () => props.chartConfig.option.dataset, |
58 | 58 | (newData: string) => { |
59 | 59 | const { dataset, publicId, organizationId, platform, isShare } = props.chartConfig.option as typeof typeOption |
60 | + | |
61 | + if(!dataset) return | |
60 | 62 | iframeLink.value = createScadaPageLink({ id: dataset, platform, publicId, organizationId, }, isShare ? ScadaModeEnum.SHARE : ScadaModeEnum.LIGHTBOX, false) |
61 | 63 | }, |
62 | 64 | { | ... | ... |