Skip to content

Console error when clicking on "Add inline comment" button ("+") #2160

@wreality

Description

@wreality

Describe the bug
Console error is produced when clicking on the "+" icon to add an inline comment.

index.ts:101 Uncaught (in promise) ApolloError: Variable "$comment_ids" got invalid value null at "comment_ids[0]"; Expected non-nullable type "ID!" not to be null.
at new ApolloError2 (index.ts:101:10)
at QueryManager.ts:301:19
at both (asyncMap.ts:32:15)
at asyncMap.ts:17:49
at new Promise ()
at Object.then (asyncMap.ts:17:16)
at Object.next (asyncMap.ts:34:39)
at notifySubscription (module.js:132:18)
at onNotify (module.js:176:3)
at SubscriptionObserver2.next (module.js:225:5)

To Reproduce
Steps to reproduce the behavior:

  1. Go to submission
  2. Open the dev console (Shift-Ctrl-I)
  3. Highlight Text
  4. Click the "+" button to add an inline comment.
  5. Observe console error

Expected behavior
No console error

Metadata

Metadata

Assignees

No one assigned

    Labels

    🖥️ frontendRelated to the Vue/JS portions🪲 bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions