Commit 7adb1ec9 authored by Sajan Rajbhandari's avatar Sajan Rajbhandari

Error in Role Management while editing any role

parent e88004af
{ {
"/js/frontend.js": "/js/frontend.a61ecd930901e421f8c6.js", "/js/frontend.js": "/js/frontend.580464ef773e2d214ce1.js",
"/js/backend.js": "/js/backend.2a9b8e6342d3c8317e81.js", "/js/backend.js": "/js/backend.10c0d698ee8a6aeda110.js",
"/mix.js": "/mix.247ab120fe7680658924.js", "/mix.js": "/mix.9b87a1da741f957f3f09.js",
"/css/frontend.css": "/css/frontend.3af0a6cbd7d1d8d042f2a37e97008b7c.css", "/css/frontend.css": "/css/frontend.7816482bc976933449305b471c854d53.css",
"/css/backend.css": "/css/backend.fb09a6c9c42e242a03eb7f859ccfdc76.css" "/css/backend.css": "/css/backend.d451c415735a1ad4f8c0bc1506ab13f7.css",
"/css/backend-custom.css": "/css/backend-custom.50f14193ab908e3cf471dea6cb6616ae.css",
"/js/backend-custom.js": "/js/backend-custom.c4cbd263073239b6890a7b1556356e0c.js",
"/js/dataTable.js": "/js/dataTable.f968d300a6a0b871f138f114361259c8.js"
} }
\ No newline at end of file
!function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=0)}({0:function(n,t,r){r("qRWl"),r("MYfA"),n.exports=r("8MfB")},"8MfB":function(n,t){},MYfA:function(n,t){},qRWl:function(n,t){}});
\ No newline at end of file
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
@if ($permissions->count()) @if ($permissions->count())
@foreach ($permissions as $perm) @foreach ($permissions as $perm)
<label class="control control--checkbox"> <label class="control control--checkbox">
<input type="checkbox" name="permissions[{{ $perm->id }}]" value="{{ $perm->id }}" id="perm_{{ $perm->id }}" {{ is_array(old('permissions')) ? (in_array($perm->id, old('permissions')) ? 'checked' : '') : (in_array($perm->id, $role_permissions) ? 'checked' : '') }} /> <label for="perm_{{ $perm->id }}">{{ $perm->display_name }}</label> <input type="checkbox" name="permissions[{{ $perm->id }}]" value="{{ $perm->id }}" id="perm_{{ $perm->id }}" {{ is_array(old('permissions')) ? (in_array($perm->id, old('permissions')) ? 'checked' : '') : (in_array($perm->id, $rolePermissions) ? 'checked' : '') }} /> <label for="perm_{{ $perm->id }}">{{ $perm->display_name }}</label>
<div class="control__indicator"></div> <div class="control__indicator"></div>
</label> </label>
<br/> <br/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment