Okay just back away from turbo for a bit, I think there was too much
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m22s
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m22s
This commit is contained in:
parent
b4b6976cb3
commit
8f797fe919
@ -88,7 +88,7 @@ class ScrapeTogglJob < ApplicationJob
|
|||||||
associated_toggl_entry_id: entry['time_entries'][0]['id'],
|
associated_toggl_entry_id: entry['time_entries'][0]['id'],
|
||||||
)
|
)
|
||||||
|
|
||||||
lecture.broadcast_update
|
# broadcast_update_to lecture, :lectures
|
||||||
elsif (lecture_title_match = entry_title.match(review_regex)) and (lecture = lectures.find_by(title: lecture_title_match[1]))
|
elsif (lecture_title_match = entry_title.match(review_regex)) and (lecture = lectures.find_by(title: lecture_title_match[1]))
|
||||||
lecture.tracked_time_entries.create!(
|
lecture.tracked_time_entries.create!(
|
||||||
kind: :review,
|
kind: :review,
|
||||||
@ -96,7 +96,7 @@ class ScrapeTogglJob < ApplicationJob
|
|||||||
associated_toggl_entry_id: entry['time_entries'][0]['id'],
|
associated_toggl_entry_id: entry['time_entries'][0]['id'],
|
||||||
)
|
)
|
||||||
|
|
||||||
lecture.broadcast_update
|
# broadcast_update_to lecture, :lectures
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -4,8 +4,6 @@
|
|||||||
'bg-green-100': lecture.attended?,
|
'bg-green-100': lecture.attended?,
|
||||||
}) %>
|
}) %>
|
||||||
|
|
||||||
<%= turbo_stream_from lecture %>
|
|
||||||
|
|
||||||
<div id="<%= dom_id(lecture) %>" class="<%= status_classes %> px-6 py-4 flex justify-between items-center grid grid-cols-5 gap-2">
|
<div id="<%= dom_id(lecture) %>" class="<%= status_classes %> px-6 py-4 flex justify-between items-center grid grid-cols-5 gap-2">
|
||||||
<div class="whitespace-nowrap text-sm font-medium text-gray-900">
|
<div class="whitespace-nowrap text-sm font-medium text-gray-900">
|
||||||
<%= lecture.title %>
|
<%= lecture.title %>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user