Skip to content

Commit

Permalink
Merge pull request #9 from achmadhadikurnia/main
Browse files Browse the repository at this point in the history
feat: add sync for referensi unor
  • Loading branch information
achmadhadikurnia committed Feb 27, 2024
2 parents 9d8d896 + 70b35b0 commit e2f90c6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace Kanekescom\Siasn\Simpeg\Filament\Resources\ReferensiRefUnorResource\Pages;

use Filament\Actions;
use Filament\Resources\Pages\ManageRecords;
use Illuminate\Support\Facades\Artisan;
use Kanekescom\Siasn\Simpeg\Filament\Resources\ReferensiRefUnorResource;

class ManageReferensiRefUnors extends ManageRecords
Expand All @@ -12,7 +14,9 @@ class ManageReferensiRefUnors extends ManageRecords
protected function getHeaderActions(): array
{
return [
//
Actions\Action::make('sync')
->requiresConfirmation()
->action(fn () => Artisan::call('siasn-simpeg:pull-referensi-ref-unor')),
];
}
}

0 comments on commit e2f90c6

Please sign in to comment.