From: soufiane Date: Mon, 15 Apr 2024 15:40:46 +0000 (+0200) Subject: wait #6854 fix X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=834d5e76a277bd3bfab9d5f3a73659a78859b6f0;p=fluidbook-toolbox.git wait #6854 fix --- diff --git a/public/packages/fluidbook/toolbox/css/style.less b/public/packages/fluidbook/toolbox/css/style.less index 1a076b48d..2d1a6d4e7 100644 --- a/public/packages/fluidbook/toolbox/css/style.less +++ b/public/packages/fluidbook/toolbox/css/style.less @@ -532,7 +532,7 @@ table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, t } } -.editview #form_shortcuts a.bold { +.editview #form_shortcuts a.active { font-weight: bold; } diff --git a/resources/views/vendor/backpack/base/layouts/top_left.blade.php b/resources/views/vendor/backpack/base/layouts/top_left.blade.php index 89d1f272a..0778e5983 100644 --- a/resources/views/vendor/backpack/base/layouts/top_left.blade.php +++ b/resources/views/vendor/backpack/base/layouts/top_left.blade.php @@ -11,7 +11,12 @@ @include(backpack_view('inc.main_header')) -@php($editview = $crud->entry instanceof \App\Models\FluidbookPublication && $crud->getCurrentOperation() === "update") +@php + $editview = false; + if(isset($crud)) { + $editview = $crud->entry instanceof \App\Models\FluidbookPublication && $crud->getCurrentOperation() === "update"; + } +@endphp
$editview])>