Skip to content

properly update propose button upon switching daos #193

Description

@lennczar

Describe the bug
When the DAO is switched on the app page, the propose button in the export page does update, but the color / disable is not updated.

To Reproduce
Steps to reproduce the behavior:

  1. Open "app" page
  2. Select a DAO where you do not have the proposal creation permission and reload the page. If it's selected already, just reload the page
  3. Create any valid workflow, fill the proposal description as well
  4. Check the "Propose on ..." button. It'll probably be blocked with 403 error
  5. While staying on the page, switch to another DAO where you have the proposal creation permission
  6. Check the "Propose on ..." button again
  7. Switch back to the previous DAO
  8. Check the "Propose on ..." button again

Expected behavior
The button should update its color and clickability.

Screenshots
image
illegal state: no error message, but greyed out

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmediumThis has medium priority

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions