mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Notifications: Fixed issues causing failing tests
- Ensured watch options passed in all meta template usage to fix failing scenarios where watch options did not exist. - Fixed testing issue caused by guest user permission caching.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div id="revision-details" class="entity-details mb-xl">
|
||||
<h5>{{ trans('common.details') }}</h5>
|
||||
<div class="body text-small text-muted">
|
||||
@include('entities.meta', ['entity' => $revision])
|
||||
@include('entities.meta', ['entity' => $revision, 'watchOptions' => null])
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@@ -81,7 +81,7 @@
|
||||
<div id="page-details" class="entity-details mb-xl">
|
||||
<h5>{{ trans('common.details') }}</h5>
|
||||
<div class="blended-links">
|
||||
@include('entities.meta', ['entity' => $page])
|
||||
@include('entities.meta', ['entity' => $page, 'watchOptions' => $watchOptions])
|
||||
|
||||
@if($book->hasPermissions())
|
||||
<div class="active-restriction">
|
||||
|
Reference in New Issue
Block a user