feat(web-admin): sync followStatus when switching to arranged plan tab
Mirror pending_arrange behavior so the arranged tab forces followStatus filter to arranged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
01946dde8e
commit
75d60c5b75
1 file changed
+2
@@ -1215,6 +1215,8 @@ tableEl: planTableWrapRef,
|
||||
searchForm.planType = filters.planType
|
||||
if (nextTab === 'pending_arrange') {
|
||||
searchForm.followStatus = ['pending_arrange']
|
||||
} else if (nextTab === 'arranged') {
|
||||
searchForm.followStatus = ['arranged']
|
||||
} else if (nextTab === 'drafting') {
|
||||
searchForm.followStatus = ['drafting']
|
||||
} else if (isPlPlanFollowStatusListTab(prevTab) && !isPlPlanFollowStatusListTab(nextTab)) {
|
||||
|
||||
Reference in new issue
Block a user