Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app does not start if the LexBar is not initialized on the homepage. #208

Open
YohannParis opened this issue May 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@YohannParis
Copy link
Contributor

What

  • If the home view does not load SearchBar which calls utils/LexUtil/initializeLex() the app bug.

Screen Shot 2021-05-19 at 18 22 42

How

  • This is the smallest Home.vue component to reproduce the issue, removing the call of initializeLex() is enough to reproduce the issue.
<template>
  <h1>Homepage</h1>
</template>

<script lang="ts">
  import Vue from 'vue';
  import Component from 'vue-class-component';

  import { initializeLex } from '@/utils/LexUtil';
  initializeLex({ pills: [], onChange: () => null }); // <-- Line that creates the issue

  @Component
  export default class Home extends Vue {
  }
</script>

Reproduce

  • Remove the call the SearchBar component from the Home view to create the error.
@YohannParis YohannParis added the bug Something isn't working label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant