File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/Http/Livewire/Articles Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function mount(Article $article)
3131 $ this ->body = $ article ->body ;
3232 $ this ->slug = $ article ->slug ;
3333 $ this ->show_toc = $ article ->show_toc ;
34- $ this ->submitted_at = $ article ->submitted_at ;
34+ $ this ->submitted_at = $ article ->submitted_at ;
3535 $ this ->canonical_url = $ article ->originalUrl ();
3636 $ this ->preview = $ article ->getFirstMediaUrl ('media ' );
3737 $ this ->associateTags = $ this ->tags_selected = old ('tags ' , $ article ->tags ()->pluck ('id ' )->toArray ());
@@ -45,7 +45,7 @@ public function onMarkdownUpdate(string $content)
4545 public function submit ()
4646 {
4747 $ this ->alreadySubmitted = $ this ->article ->submitted_at !== null ;
48- $ this ->submitted_at = $ this ->article ->submitted_at ?? now ();
48+ $ this ->submitted_at = $ this ->article ->submitted_at ?? now ();
4949 $ this ->store ();
5050 }
5151
You can’t perform that action at this time.
0 commit comments