-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dashboards bar does not resize to 1 row [DHIS2-11097] [v36] (#1762)
The function adjustRows is created when the file is first read, meaning that userRows never changes. Moved that functionality to an effect. Backport of this one: #1761
- Loading branch information
1 parent
ab77ba1
commit 97f4f84
Showing
8 changed files
with
38 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import { When } from 'cypress-cucumber-preprocessor/steps' | ||
import { confirmActionDialogSel } from '../../../selectors/editDashboard' | ||
|
||
When('A 500 error is thrown when I delete the dashboard', () => { | ||
cy.intercept('DELETE', '/dashboards', { statusCode: 500 }) | ||
cy.clickEditActionButton('Delete') | ||
cy.get(confirmActionDialogSel).find('button').contains('Delete').click() | ||
cy.get('[data-test="confirm-delete-dashboard"]').click() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters