lint fixes
This commit is contained in:
parent
c02f0b3b33
commit
6015254e59
71 changed files with 160 additions and 160 deletions
|
|
@ -77,7 +77,7 @@ const fetchEndpoint = computed(() => {
|
|||
const intervalClear = ref<(() => void) | undefined>();
|
||||
|
||||
const tick = () => {
|
||||
if (document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
if (window.document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
|
||||
window.fetch(fetchEndpoint.value, {})
|
||||
.then(res => res.json())
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ const intervalClear = ref<(() => void) | undefined>();
|
|||
const key = ref(0);
|
||||
|
||||
const tick = () => {
|
||||
if (document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
if (window.document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
|
||||
window.fetch(fetchEndpoint.value, {})
|
||||
.then(res => res.json())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue