[FIX] 移除麵包屑冗餘顯示項目
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 46s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 46s
This commit is contained in:
@@ -82,13 +82,7 @@
|
|||||||
// 3. 處理最後一個動作/頁面
|
// 3. 處理最後一個動作/頁面
|
||||||
$pageLabel = match($lastSegment) {
|
$pageLabel = match($lastSegment) {
|
||||||
'index' => match($segments[1] ?? '') {
|
'index' => match($segments[1] ?? '') {
|
||||||
'members' => __('Member List'),
|
'machines' => request()->input('tab') === 'expiry' ? __('Expiry Management') : null,
|
||||||
'machines' => request()->input('tab') === 'expiry' ? __('Expiry Management') : __('Machine List'),
|
|
||||||
'warehouses' => __('Warehouse List (All)'),
|
|
||||||
'sales' => __('Sales Records'),
|
|
||||||
'analysis' => __('Analysis Management'),
|
|
||||||
'audit' => __('Audit Management'),
|
|
||||||
'permission' => __('Permission Settings'),
|
|
||||||
default => null,
|
default => null,
|
||||||
},
|
},
|
||||||
'edit' => str_starts_with($routeName, 'profile') ? null : __('Edit'),
|
'edit' => str_starts_with($routeName, 'profile') ? null : __('Edit'),
|
||||||
|
|||||||
Reference in New Issue
Block a user