Skip to content

Commit d7bda4d

Browse files
committed
re-enable jupyterlab/vscode launcher buttons
1 parent b9a5032 commit d7bda4d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/packages/frontend/project/explorer/misc-side-buttons.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import { ProjectActions } from "@cocalc/frontend/project_store";
1818
import track from "@cocalc/frontend/user-tracking";
1919
import { KUCALC_COCALC_COM } from "@cocalc/util/db-schema/site-defaults";
2020

21-
const SHOW_SERVER_LAUNCHERS = false;
22-
2321
import TourButton from "./tour/button";
2422

2523
const OPEN_MSG = defineMessage({
@@ -176,7 +174,7 @@ export const MiscSideButtons: React.FC<Props> = (props) => {
176174
// we make sure the url ends with a slash, without messing up the full URL
177175
const s = base.slice(base.length - 1) === "/" ? "" : "/";
178176
const url = `${base}${s}${current_path ? "lab/tree/" + current_path : ""}`;
179-
const values = { name: SPEC.code.longName };
177+
const values = { name: SPEC.jupyterlab.longName };
180178
const tooltip = intl.formatMessage(OPEN_MSG, values);
181179
const description = intl.formatMessage(SPEC.jupyterlab.description, values);
182180
return (
@@ -209,12 +207,10 @@ export const MiscSideButtons: React.FC<Props> = (props) => {
209207
style={{ whiteSpace: "nowrap", padding: "0" }}
210208
className="pull-right"
211209
>
212-
{SHOW_SERVER_LAUNCHERS && (
213-
<Space.Compact>
214-
{render_jupyterlab_button()}
215-
{render_vscode_button()}
216-
</Space.Compact>
217-
)}
210+
<Space.Compact>
211+
{render_jupyterlab_button()}
212+
{render_vscode_button()}
213+
</Space.Compact>
218214
<Space.Compact>
219215
{render_upload_button()}
220216
{render_library_button()}

0 commit comments

Comments
 (0)