From 661e9eac01cebba7da87f2afda53d84c366d468a Mon Sep 17 00:00:00 2001 From: pranavpandey1998official <44601530+pranavpandey1998official@users.noreply.github.com> Date: Thu, 2 May 2019 19:25:39 +0530 Subject: [PATCH] Remove duplicated getRoleDescription function (#866) --- app/views/RoomInfoView/index.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/views/RoomInfoView/index.js b/app/views/RoomInfoView/index.js index be89585bd..2e6e0c4c8 100644 --- a/app/views/RoomInfoView/index.js +++ b/app/views/RoomInfoView/index.js @@ -139,14 +139,6 @@ export default class RoomInfoView extends LoggedView { ); - getRoleDescription = (id) => { - const role = database.objectForPrimaryKey('roles', id); - if (role) { - return role.description; - } - return null; - } - renderRole = (role) => { const description = this.getRoleDescription(role); if (description) {