Changeset 1c17e70 for resources


Ignore:
Timestamp:
10/24/21 21:22:38 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
159e7df
Parents:
112ba6d
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/dashboard/settings/index.blade.php

    r112ba6d r1c17e70  
    2424                        <a class="nav-link {{$active_tab == 'account' ? 'active' : ""}}" id="account-tab" data-toggle="pill" href="#account" role="tab" aria-controls="account" aria-selected="true">Account</a>
    2525                        <a class="nav-link {{$active_tab == 'security' ? 'active' : ""}}" id="security-tab" data-toggle="pill" href="#security" role="tab" aria-controls="security" aria-selected="false">Security</a>
    26                         @if(auth()->user()->hasPermission('validation_data'))
     26                        @if(auth()->user()->hasPermission('manage_file_types'))
    2727                        <a class="nav-link {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types-tab" data-toggle="pill" href="#file-types" role="tab" aria-controls="file-types" aria-selected="false">File validation</a>
    2828                        @endif
     
    235235                        </div>
    236236                        <div class="tab-pane {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types" role="tabpanel" aria-labelledby="file-types-tab">
    237                             @if(auth()->user()->hasPermission('validation_data'))
     237                            @if(auth()->user()->hasPermission('manage_file_types'))
    238238                            <div class="card">
    239239                                    <div class="card-body">
Note: See TracChangeset for help on using the changeset viewer.