-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix available workspace logic #60872
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7eefefa
fix avaialble workspace logic
luacmartins c2d86dd
add payer condition
luacmartins 43f8cbf
add iou condition
luacmartins b218d69
simplify logic
luacmartins 963458d
refactor code
luacmartins 8fbd98e
move logic
luacmartins 344c521
fix lint
luacmartins f2eda6f
rm unused code
luacmartins d7eff03
improve logic
luacmartins 8b0c2f9
Merge branch 'main' into cmartins-fixAvaialbleWorkspaceLogic
luacmartins be49947
refactor change workspace condition
luacmartins 81fbfc0
fix lint
luacmartins 9150a48
update tests
luacmartins 6357764
add more tests
luacmartins f6ab293
fix tests
luacmartins eaf06e2
fix lint
luacmartins d74fe8b
fix type
luacmartins 62bbf48
fix eslint
luacmartins 9093dff
Merge branch 'main' into cmartins-fixAvaialbleWorkspaceLogic
luacmartins ee8f94f
resolve conflicts
luacmartins f884ff0
fix eslint
luacmartins 11ca3e6
fix moved message on workspace chat
luacmartins 92ab170
Merge branch 'main' into cmartins-fixAvaialbleWorkspaceLogic
luacmartins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For settled reports we should have also checked the current user is the admin just like the condition we use to determine the list of workspaces in change workspace page. Fixed in https://github.com/Expensify/App/pull/85291/changes