Introduces flag showRemainingTime
This commit is contained in:
parent
e505978017
commit
7142d351eb
@ -1750,6 +1750,11 @@ ORDER BY m."createdAt";
|
||||
|
||||
create view "v_meeting_componentsFlags" as
|
||||
select "meeting"."meetingId",
|
||||
(case
|
||||
when NULLIF("durationInSeconds",0) is null then false
|
||||
when current_timestamp + '30 minutes'::interval > ("createdAt" + ("durationInSeconds" * '1 second'::interval)) then true
|
||||
else false
|
||||
end) "showRemainingTime",
|
||||
exists (
|
||||
select 1
|
||||
from "breakoutRoom"
|
||||
|
@ -11,11 +11,12 @@ select_permissions:
|
||||
permission:
|
||||
columns:
|
||||
- hasBreakoutRoom
|
||||
- hasCaption
|
||||
- hasExternalVideo
|
||||
- hasPoll
|
||||
- hasScreenshare
|
||||
- hasTimer
|
||||
- hasCaption
|
||||
- showRemainingTime
|
||||
filter:
|
||||
meetingId:
|
||||
_eq: X-Hasura-MeetingId
|
||||
|
Loading…
Reference in New Issue
Block a user