From b23374e737e1d96f2fc9b0b64e2d6ca1c0f6cd3d Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Tue, 25 Aug 2020 14:57:33 -0500 Subject: [PATCH] [deploy] Revert "Refactor:Move RssReader Fetch Article task to Sidekiq (#9976)" (#9998) --- app/assets/stylesheets/internal/layout.scss | 10 +++---- .../articles/components/SaveButton.jsx | 4 +-- app/services/rss_reader.rb | 1 - app/views/admin/profile_fields/index.html.erb | 30 ++++++++++--------- app/workers/articles/rss_reader_worker.rb | 12 -------- config/schedule.yml | 3 -- lib/tasks/fetch.rake | 7 +++++ .../articles/rss_reader_worker_spec.rb | 15 ---------- 8 files changed, 29 insertions(+), 53 deletions(-) delete mode 100644 app/workers/articles/rss_reader_worker.rb create mode 100644 lib/tasks/fetch.rake delete mode 100644 spec/workers/articles/rss_reader_worker_spec.rb diff --git a/app/assets/stylesheets/internal/layout.scss b/app/assets/stylesheets/internal/layout.scss index 026306f8c..ef971cb4b 100644 --- a/app/assets/stylesheets/internal/layout.scss +++ b/app/assets/stylesheets/internal/layout.scss @@ -86,11 +86,11 @@ body { .site-config__required { background: #dc3545; - border-radius: 19px; - padding: 5px 15px; - color: white; - text-align: right; - margin-left: 10px; + border-radius: 19px; + padding: 5px 15px; + color: white; + text-align: right; + margin-left: 10px; } .site-config__label { diff --git a/app/javascript/articles/components/SaveButton.jsx b/app/javascript/articles/components/SaveButton.jsx index fba764b3e..386eb5c70 100644 --- a/app/javascript/articles/components/SaveButton.jsx +++ b/app/javascript/articles/components/SaveButton.jsx @@ -38,9 +38,7 @@ export class SaveButton extends Component {