From 851dd2e3e609eec3711ba76660b814cfb6630ea9 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 15 Jul 2023 10:40:18 +0200 Subject: [PATCH] lint fixes --- webapp/components/Chat/Chat.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 437f8bcf1..f2e0f7c3d 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -145,7 +145,7 @@ export default { { name: 'deleteRoom', title: 'Delete Room' }, */ ], - + showDemoOptions: true, responsiveBreakpoint: 600, rooms: [], @@ -170,8 +170,8 @@ export default { userId: this.singleRoomId, }, }) - .then(({data: { CreateRoom }}) => { - this.fetchRooms({room: CreateRoom}) + .then(({ data: { CreateRoom } }) => { + this.fetchRooms({ room: CreateRoom }) }) .catch((error) => { this.$toast.error(error) @@ -192,8 +192,7 @@ export default { }, }, methods: { - async fetchRooms({ room } = {}){ - console.log(room) + async fetchRooms({ room } = {}) { this.roomsLoaded = false const offset = this.roomPage * this.roomPageSize try { @@ -209,8 +208,6 @@ export default { fetchPolicy: 'no-cache', }) - console.log(Room) - const rooms = [] const newRooms = Room.map((r) => { return { ...r,