gpui: Simplify tab group lookup logic in SystemWindowTabController (#40466)
Xiaobo Liu
created
Refactor the find_tab_group method to use the question mark operator for
cleaner error handling, replacing the explicit if-else pattern with a
more concise chained approach.
Release Notes:
- N/A
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>