We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6745318 commit c616e81Copy full SHA for c616e81
src/Library/EntryRow.js
@@ -5,6 +5,7 @@ import GObject from "gi://GObject";
5
6
import { getLanguage } from "../util.js";
7
import Template from "./EntryRow.blp" with { type: "uri" };
8
+import { isTypeScriptEnabled } from "../Extensions/Extensions.js";
9
10
class EntryRow extends Adw.ActionRow {
11
constructor({ demo, ...params } = {}) {
@@ -32,6 +33,7 @@ class EntryRow extends Adw.ActionRow {
32
33
34
#createLanguageTags(demo) {
35
demo.languages.forEach((id) => {
36
+ if (id === "typescript" && !isTypeScriptEnabled()) return;
37
const language = getLanguage(id);
38
if (!language) return;
39
const language_tag = this.#createLanguageTag(language);
0 commit comments