forked from trent_larson/crowd-funder-for-time-pwa
allow to see the discover page without the onboarding message
This commit is contained in:
@@ -465,6 +465,8 @@ export default class DiscoverView extends Vue {
|
|||||||
|
|
||||||
async mounted() {
|
async mounted() {
|
||||||
this.searchTerms = this.$route.query["searchText"]?.toString() || "";
|
this.searchTerms = this.$route.query["searchText"]?.toString() || "";
|
||||||
|
const hideOnboarding =
|
||||||
|
this.$route.query["hideOnboarding"]?.toString() === "true";
|
||||||
|
|
||||||
const searchPeople = !!this.$route.query["searchPeople"];
|
const searchPeople = !!this.$route.query["searchPeople"];
|
||||||
|
|
||||||
@@ -483,7 +485,7 @@ export default class DiscoverView extends Vue {
|
|||||||
|
|
||||||
this.allMyDids = await retrieveAccountDids();
|
this.allMyDids = await retrieveAccountDids();
|
||||||
|
|
||||||
if (!settings.finishedOnboarding) {
|
if (!settings.finishedOnboarding && !hideOnboarding) {
|
||||||
(this.$refs.onboardingDialog as OnboardingDialog).open(
|
(this.$refs.onboardingDialog as OnboardingDialog).open(
|
||||||
OnboardPage.Discover,
|
OnboardPage.Discover,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user