diff --git a/app/models/site/build_stats.rb b/app/models/site/build_stats.rb index 64e689b6..d5b0c1ad 100644 --- a/app/models/site/build_stats.rb +++ b/app/models/site/build_stats.rb @@ -45,7 +45,7 @@ class Site # # @return [Boolean] def awaiting_publication? - updated_at > (build_stats.jekyll.where(status: true).last&.created_at || updated_at) + waiting? && updated_at > (build_stats.jekyll.where(status: true).last&.created_at || updated_at) end end end