Skip to content

Commit

Permalink
add: publish button
Browse files Browse the repository at this point in the history
  • Loading branch information
matfire committed Oct 16, 2024
1 parent a3ede34 commit 685bc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/livewire/articles/table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<flux:spacer />
<div class="flex space-x-4">
<flux:button href="{{route('app.articles.edit', ['article' => $article->id])}}" variant="primary">Edit</flux:button>
<flux:button wire:click="publishPost({{$article->id}})">Publish</flux:button>
<flux:button wire:click="previewPost({{$article->id}})">Preview</flux:button>
<flux:button wire:click="deletePost({{$article->id}})" variant="danger">Delete</flux:button>
</div>
Expand Down

0 comments on commit 685bc3c

Please sign in to comment.