diff --git a/resources/views/partials/branch-switcher-menu.blade.php b/resources/views/partials/branch-switcher-menu.blade.php new file mode 100644 index 0000000..1498eb9 --- /dev/null +++ b/resources/views/partials/branch-switcher-menu.blade.php @@ -0,0 +1,29 @@ +@if (isset($actingLocation) || (($accessibleLocations ?? collect())->isNotEmpty())) +
Switch branch
+ @foreach ($accessibleLocations ?? [] as $branch) + + @endforeach + @if (! empty($canManageBranches)) + + Manage branches + + @endif +