We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16d750 commit d1d4ae3Copy full SHA for d1d4ae3
client/src/components/Dataset/DatasetDisplay.vue
@@ -21,6 +21,8 @@ interface Props {
21
22
const { getDataset, isLoadingDataset } = useDatasetStore();
23
24
+const emit = defineEmits(["load"]);
25
+
26
const props = defineProps<Props>();
27
28
const contentTruncated = ref<number | null>(null);
@@ -95,7 +97,7 @@ watch(
95
97
</div>
96
98
<a :href="downloadUrl">Download</a>
99
- <CenterFrame :src="previewUrl" @load="$emit('load')" />
100
+ <CenterFrame :src="previewUrl" @load="emit('load')" />
101
102
103
</template>
0 commit comments