这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@karthikvt26
Copy link
Contributor

Description

Metadata tab used to read access key from environment variable since that was the previous flow. We changed it post #481 fix. Now it reads from the redux state.

What component does this PR affect?

  • Server
  • Console
  • CLI
  • Docs
  • Community Content

Requires changes from other components? If yes, please mark the components:

  • Server
  • Console
  • CLI
  • Docs
  • Community Content

Related Issue

Solution and Design

The issue is fixed by reading the headers state from the redux state as that is the primary source of information for all the data.

Tests

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the contributing guide and my code conforms to the guidelines.
  • This change requires a change in the documentation.
  • I have updated the documentation accordingly.

const mapStateToProps = state => {
return {
...state.main,
dataHeaders: state.tables.dataHeaders,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dataHeaders is injected into the prop. @praveenweb

@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-514.herokuapp.com

Copy link
Member

@praveenweb praveenweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karthikvt26 karthikvt26 added the s/do-not-merge Do not merge this pull request to master label Sep 21, 2018
@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-514.herokuapp.com

@praveenweb praveenweb added s/ok-to-merge Status: This pull request can be merged to master c/console Related to console and removed s/do-not-merge Do not merge this pull request to master labels Sep 21, 2018
@shahidhk shahidhk changed the title Take access key from redux state take access key from redux state Sep 22, 2018
@shahidhk
Copy link
Member

@karthikvt26 @praveenweb Let's make sure we have associated issue next time.

@shahidhk shahidhk merged commit 65f2961 into hasura:master Sep 22, 2018
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-514.herokuapp.com is deleted

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 23, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a2ef9eb
Status:🚫  Build failed.

View logs

hasura-bot pushed a commit that referenced this pull request Apr 29, 2024
V3_GIT_ORIGIN_REV_ID: 11e583559b0143e8fa7056a39c98c20fff6bb83e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console s/ok-to-merge Status: This pull request can be merged to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants