Skip to content

Commit

Permalink
add: publish workflow wip
Browse files Browse the repository at this point in the history
  • Loading branch information
matfire committed Oct 16, 2024
1 parent 685bc3c commit 42bf2b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/Livewire/Articles/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Table extends Component

public string $previewContent = '';

public Collection $publishers;

public array $selectedProviders = [];

public function mount()
{
$this->articles = Auth::user()->articles;
Expand Down Expand Up @@ -49,4 +53,9 @@ public function previewPost(int $id)
$this->previewContent = Article::query()->find($id)->content;
Flux::modal('preview-article')->show();
}

public function publishPost(int $id)
{
$this->selectedId = $id;
}
}

0 comments on commit 42bf2b2

Please sign in to comment.