Skip to content

Commit

Permalink
Create TableWidget.php
Browse files Browse the repository at this point in the history
make TableWidget accessor
  • Loading branch information
aisuvro authored Jan 24, 2025
1 parent 6f7345b commit 7c10e53
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/TableWidget.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace Coolsam\Modules;


abstract class TableWidget extends \Filament\Widgets\TableWidget
{

use \Coolsam\Modules\Traits\CanAccessTrait;


public static function canView(): bool
{
return self::canAccess();
}
}

0 comments on commit 7c10e53

Please sign in to comment.