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

Cannot read property 'complete' of undefined #35

Open
ovasylenko opened this issue Apr 26, 2016 · 1 comment
Open

Cannot read property 'complete' of undefined #35

ovasylenko opened this issue Apr 26, 2016 · 1 comment

Comments

@ovasylenko
Copy link

    label: 'Execute',
    enabled: **dataSourceCue.complete,** <-- undefined when navigate to /branches
    hotkey: "command + enter",
    show: !executingOp,
    action: function(){
      this$.props.record({
        eventType: 'execute-query',
        eventArgs: {
          document: this$.documentFromState()
        }
      });
      return this$.execute();
@furqanZafar
Copy link
Member

Hey @ovasylenko, how is it going

to fix that issue just update the default-data-source-cue property in config (add complete:true):

    default-data-source-cue:
        connection-kind: \pre-configured
        query-type: \mongodb
        connection-name: \local
        database: \your-database-name
        collection: \your-collection-name
        complete: true

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

2 participants