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)
31
31
$ this ->body = $ article ->body ;
32
32
$ this ->slug = $ article ->slug ;
33
33
$ this ->show_toc = $ article ->show_toc ;
34
- $ this ->submitted_at = $ article ->submitted_at ;
34
+ $ this ->submitted_at = $ article ->submitted_at ;
35
35
$ this ->canonical_url = $ article ->originalUrl ();
36
36
$ this ->preview = $ article ->getFirstMediaUrl ('media ' );
37
37
$ this ->associateTags = $ this ->tags_selected = old ('tags ' , $ article ->tags ()->pluck ('id ' )->toArray ());
@@ -45,7 +45,7 @@ public function onMarkdownUpdate(string $content)
45
45
public function submit ()
46
46
{
47
47
$ 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 ();
49
49
$ this ->store ();
50
50
}
51
51
You can’t perform that action at this time.
0 commit comments