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
|
@ -162,7 +162,7 @@ const WidgetContextMenu: React.FC<IProps> = ({
|
|||
let revokeButton;
|
||||
if (!userWidget && !isLocalWidget && isAllowedWidget) {
|
||||
const onRevokeClick = () => {
|
||||
console.info("Revoking permission for widget to load: " + app.eventId);
|
||||
logger.info("Revoking permission for widget to load: " + app.eventId);
|
||||
const current = SettingsStore.getValue("allowedWidgets", roomId);
|
||||
current[app.eventId] = false;
|
||||
const level = SettingsStore.firstSupportedLevel("allowedWidgets");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue