bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/user-list/container.jsx

19 lines
652 B
React
Raw Normal View History

2017-07-12 21:18:26 +08:00
import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import getFromUserSettings from '/imports/ui/services/users-settings';
2017-07-12 21:18:26 +08:00
import UserList from './component';
import { useStorageKey } from '../../services/storage/hooks';
2016-05-20 02:22:56 +08:00
const UserListContainer = (props) => {
const CustomLogoUrl = useStorageKey('CustomLogoUrl', 'session');
return (
<UserList CustomLogoUrl={CustomLogoUrl} {...props} />
);
};
2016-05-20 02:22:56 +08:00
2021-08-05 12:22:07 +08:00
export default withTracker(({ compact }) => (
{
showBranding: getFromUserSettings('bbb_display_branding_area', window.meetingClientSettings.public.app.branding.displayBrandingArea),
2021-08-05 12:22:07 +08:00
}
))(UserListContainer);