Merge pull request #40 from trypostit/fix/remove-redundant-publish-toast
fix(posts): drop redundant 'publishing' toast on publish
This commit is contained in:
commit
626da2c4dd
7 changed files with 3 additions and 9 deletions
|
|
@ -290,9 +290,6 @@ public function update(UpdatePostRequest $request, Post $post): RedirectResponse
|
|||
}
|
||||
|
||||
if ($action === PostAction::Publishing) {
|
||||
session()->flash('flash.banner', __('posts.flash.publishing'));
|
||||
session()->flash('flash.bannerStyle', 'success');
|
||||
|
||||
return redirect()->route('app.posts.show', $post);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -471,7 +471,6 @@
|
|||
|
||||
'flash' => [
|
||||
'scheduled' => 'Post scheduled successfully!',
|
||||
'publishing' => 'Post is being published! It may take a few minutes to process and appear on each platform.',
|
||||
'deleted' => 'Post deleted successfully!',
|
||||
'duplicated' => 'Post duplicated as a draft.',
|
||||
'cannot_edit_published' => 'Published posts cannot be edited.',
|
||||
|
|
|
|||
|
|
@ -471,7 +471,6 @@
|
|||
|
||||
'flash' => [
|
||||
'scheduled' => '¡Post programado correctamente!',
|
||||
'publishing' => '¡El post se está publicando! Puede tardar unos minutos en procesarse y aparecer en cada plataforma.',
|
||||
'deleted' => '¡Post eliminado correctamente!',
|
||||
'duplicated' => 'Post duplicado como borrador.',
|
||||
'cannot_edit_published' => 'Los posts publicados no se pueden editar.',
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -471,7 +471,6 @@
|
|||
|
||||
'flash' => [
|
||||
'scheduled' => 'Post agendado com sucesso!',
|
||||
'publishing' => 'Post está sendo publicado! Pode levar alguns minutos para processar e aparecer em cada plataforma.',
|
||||
'deleted' => 'Post excluído com sucesso!',
|
||||
'duplicated' => 'Post duplicado como rascunho.',
|
||||
'cannot_edit_published' => 'Posts publicados não podem ser editados.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue