diff --git a/resources/views/Staff/chat/bot/index.blade.php b/resources/views/Staff/chat/bot/index.blade.php index e27ec1d70f..09a04f2eb1 100644 --- a/resources/views/Staff/chat/bot/index.blade.php +++ b/resources/views/Staff/chat/bot/index.blade.php @@ -54,11 +54,19 @@ class="btn btn-warning">@lang('common.edit') @else @if($bot->active) - @lang('common.disable') +
+ @csrf + +
@else - @lang('common.enable') +
+ @csrf + +
@endif @endif diff --git a/resources/views/partials/dashboardmenu.blade.php b/resources/views/partials/dashboardmenu.blade.php index b308be3194..969f60ef7a 100644 --- a/resources/views/partials/dashboardmenu.blade.php +++ b/resources/views/partials/dashboardmenu.blade.php @@ -48,9 +48,13 @@
  • - - @lang('staff.flush-chat') - +
    + @csrf + + +