mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 20:59:05 +00:00
style: linting
This commit is contained in:
@@ -164,7 +164,7 @@ async def rooms_get_by_name(
|
|||||||
room = await rooms_controller.get_by_name(room_name)
|
room = await rooms_controller.get_by_name(room_name)
|
||||||
if not room:
|
if not room:
|
||||||
raise HTTPException(status_code=404, detail="Room not found")
|
raise HTTPException(status_code=404, detail="Room not found")
|
||||||
|
|
||||||
# Convert to RoomDetails format (add webhook fields if user is owner)
|
# Convert to RoomDetails format (add webhook fields if user is owner)
|
||||||
room_dict = room.__dict__.copy()
|
room_dict = room.__dict__.copy()
|
||||||
if user_id == room.user_id:
|
if user_id == room.user_id:
|
||||||
@@ -175,7 +175,7 @@ async def rooms_get_by_name(
|
|||||||
# Non-owner, hide webhook details
|
# Non-owner, hide webhook details
|
||||||
room_dict["webhook_url"] = None
|
room_dict["webhook_url"] = None
|
||||||
room_dict["webhook_secret"] = None
|
room_dict["webhook_secret"] = None
|
||||||
|
|
||||||
return RoomDetails(**room_dict)
|
return RoomDetails(**room_dict)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -392,13 +392,13 @@ export default function MeetingSelection({
|
|||||||
No meetings right now
|
No meetings right now
|
||||||
</Text>
|
</Text>
|
||||||
<Text fontSize="md" color="gray.600" maxW="400px">
|
<Text fontSize="md" color="gray.600" maxW="400px">
|
||||||
There are no ongoing or upcoming meetings in this room at the moment.
|
There are no ongoing or upcoming meetings in this room at the
|
||||||
|
moment.
|
||||||
</Text>
|
</Text>
|
||||||
</VStack>
|
</VStack>
|
||||||
</VStack>
|
</VStack>
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -70,11 +70,7 @@ export default function MinimalHeader({
|
|||||||
{/* Action Buttons */}
|
{/* Action Buttons */}
|
||||||
<HStack gap={2}>
|
<HStack gap={2}>
|
||||||
{showCreateButton && onCreateMeeting && (
|
{showCreateButton && onCreateMeeting && (
|
||||||
<Button
|
<Button colorScheme="green" size="sm" onClick={onCreateMeeting}>
|
||||||
colorScheme="green"
|
|
||||||
size="sm"
|
|
||||||
onClick={onCreateMeeting}
|
|
||||||
>
|
|
||||||
Create Meeting
|
Create Meeting
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|||||||
5568
www/app/reflector-api.d.ts
vendored
5568
www/app/reflector-api.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user