<?php if(isset($permission)): ?>
    <?php if(admin_permission_by_name($permission)): ?>
        <a href="<?php echo e($href ?? "javascript:void(0)"); ?>" class="btn btn--base <?php echo e($class ?? ""); ?>"><i class="las la-pencil-alt"></i></a>
    <?php endif; ?>
<?php else: ?>
    <a href="<?php echo e($href ?? "javascript:void(0)"); ?>" class="btn btn--base <?php echo e($class ?? ""); ?>"><i class="las la-pencil-alt"></i></a>
<?php endif; ?><?php /**PATH C:\xampp\htdocs\Payload\resources\views/admin/components/link/edit-default.blade.php ENDPATH**/ ?>