Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TDDD27_help
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Erik Berglund
  • TDDD27_help
  • Issues
  • #132
Closed
Open
Issue created Apr 22, 2022 by Anton Lindskog@antli559

Assigning document ID from collections

We use Vue together with Firestore and have problems with a function that creates a document in a collection. We want to create a collection of lobbies where each lobby has its own chat. For that we need to create a collection with messages in that lobby which we just created. The problem is that our function createLobby() returns the variable ID before it has been assigned the correct ID. This can be seen in the console log picture.

createLobby

AppNav

console

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking