diff --git a/resources/views/layouts/main.blade.php b/resources/views/layouts/main.blade.php
index 234a11e1..ae31b5e1 100644
--- a/resources/views/layouts/main.blade.php
+++ b/resources/views/layouts/main.blade.php
@@ -403,9 +403,9 @@
Copyright © 2021-{{ date('Y') }} {{ env('APP_NAME', 'Laravel') }}.
All rights
- reserved. Powered by ControlPanel. Version
- @if(config("BRANCHNAME") != "main")
- {{ config('app')['version'] }} - {{config("BRANCHNAME")}}
+ reserved. Powered by ControlPanel.
+ @if(!str_contains(config("BRANCHNAME"),"main"))
+ Version {{ config('app')['version'] }} - {{config("BRANCHNAME")}}
@endif