Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
parent
5290afcc4c
commit
2c66403b3c
11 changed files with 21 additions and 21 deletions
|
@ -314,7 +314,7 @@ export default class AppTile extends React.Component<IProps, IState> {
|
|||
|
||||
private grantWidgetPermission = (): void => {
|
||||
const roomId = this.props.room.roomId;
|
||||
console.info("Granting permission for widget to load: " + this.props.app.eventId);
|
||||
logger.info("Granting permission for widget to load: " + this.props.app.eventId);
|
||||
const current = SettingsStore.getValue("allowedWidgets", roomId);
|
||||
current[this.props.app.eventId] = true;
|
||||
const level = SettingsStore.firstSupportedLevel("allowedWidgets");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue