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

Items are not displayed in newList.vue #5

Open
iwamoto-takaaki opened this issue Jul 7, 2020 · 0 comments
Open

Items are not displayed in newList.vue #5

iwamoto-takaaki opened this issue Jul 7, 2020 · 0 comments

Comments

@iwamoto-takaaki
Copy link

Steps to reproduce

  • Setup according to Quick Start Guide at READ.ME
  • npm run serve in terminal
  • login
  • open chat and createNew chatrooms
  • return to chat

What is expected?

I would expect can see chatrooms.

What is actually happening?

Chatrooms are not displayed.
onSnapshot callback seems not to be called.

  created() {
    this.detacher = this.refCollection
      // .orderBy("timeCreated", "desc")
      .where("owner", "==", this.$store.state.user.uid)
      .onSnapshot(snapshot => {
        this.articles = snapshot.docs.map(doc => {
          return Object.assign(doc.data(), { id: doc.id }) as BaseDocument;
        });
      });
  }

It's work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant