We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53a0be commit c73f4dcCopy full SHA for c73f4dc
1 file changed
resources/js/components/video/VideoInfoPanel.vue
@@ -87,7 +87,7 @@ watch(
87
88
const { data } = await getUserViewCount(stateVideo.value.metadata.id);
89
90
- personalViewCount.value = isNaN(parseInt(data)) ? null : parseInt(data);
+ personalViewCount.value = Number.isNaN(Number.parseInt(data)) ? null : Number.parseInt(data);
91
},
92
{ immediate: true, deep: true },
93
);
0 commit comments