Skip to content

Commit

Permalink
remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Sep 19, 2022
1 parent 706fde2 commit aa7b664
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const start = (): void => {
Tracker.autorun(() => {
const { url, defaultUrl } = settings.get('Assets_background') || {};

console.log('Assets_background', url);
window.RocketChatDesktop.setBackground(url || defaultUrl);
});

Expand Down
2 changes: 0 additions & 2 deletions src/ui/main/serverView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ export const attachGuestWebContentsEvents = async (): Promise<void> => {
redirectUrl.startsWith(allowedRedirect)
) > -1;

console.log('isAllowedRedirect', isAllowedRedirect);

if (!redirectUrl.startsWith(action.payload.url) && !isAllowedRedirect) {
e.preventDefault();
shell.openExternal(redirectUrl);
Expand Down

0 comments on commit aa7b664

Please sign in to comment.