Revert "meow"

This reverts commit 03234acb8f.
This commit is contained in:
ThatOneCalculator 2023-01-19 16:29:28 -08:00
parent 1e0becd6fb
commit 0164c77356
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 3 additions and 6 deletions

View File

@ -41,7 +41,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { markRaw, onMounted, onUnmounted, watch, computed, onActivated, onDeactivated } from 'vue'; import { markRaw, onMounted, onUnmounted, watch, computed, onActivated } from 'vue';
import * as Acct from 'calckey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { Virtual } from 'swiper'; import { Virtual } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/vue'; import { Swiper, SwiperSlide } from 'swiper/vue';
@ -217,15 +217,12 @@ onUnmounted(() => {
let alreadyInit = $ref(false); let alreadyInit = $ref(false);
onActivated(() => { onActivated(() => {
if (alreadyInit.value) { if (!alreadyInit.value) alreadyInit.value = true;
else {
paginationComponentUser.reload(); paginationComponentUser.reload();
paginationComponentGroup.reload(); paginationComponentGroup.reload();
} }
}); });
onDeactivated(() => {
alreadyInit.value = true;
});
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>