File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11<template >
22 <!-- eslint-disable max-len -->
33 <div class =" mx-4 sm:mx-16 lg:mx-32" >
4- <section class =" mx-auto mt-4" >
4+ <div v-if =" !historyFetched" class =" mx-auto flex items-center justify-center mt-32" >
5+ <img class =" h-36" src =" ../../assets/loading.svg" >
6+ </div >
7+ <section v-else class =" mx-auto mt-4" >
58 <div class =" flex items-center justify-center md:justify-start w-full mb-4" >
69 <h1
710 class =" text-3xl sm:text-5xl my-4 inline-block text-center leading-none onboarding-sub-container-content-heading" >
@@ -55,6 +58,7 @@ export default {
5558 },
5659 recommendationsAnalysisDone: false ,
5760 filteredCount: null ,
61+ historyFetched: false ,
5862 }),
5963 methods: {
6064 async fetchUsers (request ) {
@@ -108,6 +112,7 @@ export default {
108112 }
109113 }
110114 }
115+ this .historyFetched = true ;
111116 this .recommendationsAnalysisDone = true ;
112117 },
113118 browseAgain () {
@@ -120,6 +125,7 @@ export default {
120125 this .recommendationsAnalysis .popularity .max = null ;
121126 this .recommendationsAnalysis .interests = [];
122127 this .recommendationsAnalysisDone = false ;
128+ this .historyFetched = false ;
123129 },
124130 updateHistory (... args ) {
125131 const [key , value ] = args;
You can’t perform that action at this time.
0 commit comments