Skip to content

Commit

Permalink
Open WSs in a new tab by default (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Oct 2, 2023
1 parent 46c09de commit ca6777d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface GitpodButtonProps {

export const GitpodButton = ({ application, additionalClassNames }: GitpodButtonProps) => {
const [address] = useStorage<string>(STORAGE_KEY_ADDRESS, DEFAULT_GITPOD_ENDPOINT);
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);

const [showDropdown, setShowDropdown] = useState(false);
const actions = [
Expand Down
2 changes: 1 addition & 1 deletion src/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function IndexPopup() {
setAddress(storedAddress);
}, [storedAddress])

const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);
const [automaticallyDetect, setAutomaticallyDetect] = useStorage<boolean>(STORAGE_AUTOMATICALLY_DETECT_GITPOD, true);

return (
Expand Down

0 comments on commit ca6777d

Please sign in to comment.