Skip to content

Commit 7839ceb

Browse files
committed
fix(web): leave an empty fix hint of a Health row empty
1 parent 13d383c commit 7839ceb

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎cli/src/coding_study/entrypoints/web/static/app.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cli/src/coding_study/entrypoints/web/static/chunks/health-NT6VYCCJ.js‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cli/src/coding_study/entrypoints/web/static/chunks/health-RWE3XNCZ.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎cli/src/coding_study/entrypoints/web/static/manifest.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": {
44
"THIRD_PARTY_LICENSES.txt": "16e05881b179ed03f4f9a37e41349e8fedc144c6568aa12e4fccc9190e0907b9",
55
"app.css": "fa3b1e0fbefcdf992dd48b02dfeac866349bd4964091d6e49a576cb15c9b9491",
6-
"app.js": "e4b9fdbf7d64f23869bb414385ef29c0b181b1524e3b9079c6ba0badb55fd667",
6+
"app.js": "d7bfcfdb2d3ea5d436ca5db7dcc0898105eda6e33a83b00a4cdaa80394625480",
77
"chunks/chunk-3JSIARUJ.js": "951b0fa11378e0d6f6f2aabea94393736c149216e08383b552c245e05adaa1d6",
88
"chunks/chunk-4SAJJHEE.js": "509f2753ec699cbfa697968ea8f5af71079761505c931ed6b2ecc16e89fe0e80",
99
"chunks/chunk-5343PY3V.js": "180c440be288a1d38066bd2e972d6d8da3c4b21bc7856f5d8737a7aa98b5a6c9",
@@ -44,7 +44,7 @@
4444
"chunks/editor-TJ7L5BBF.js": "f3c07ea269faeedf7ef6023b3c88269520fc853d9151e32a59524f2fb4245a4c",
4545
"chunks/go-MSHJ2P44.js": "085c6b56af8770842c03b9fa3a96476cfabd08559e32e0b81357f943f8d4d0a5",
4646
"chunks/health-FFF6CNRN.css": "2217127c0bf04b15f916d5eaa0ff12d94be04c629ad77b50510ce35899f1aac0",
47-
"chunks/health-RWE3XNCZ.js": "d325a0b5f0fb6ef2ce39037ba4dfdf1ab02a0312404c2a561812fae207044475",
47+
"chunks/health-NT6VYCCJ.js": "767f38bf7282f215859c52b01f4f375e6af9792e7c0819dabd3a0b2f5262c5e1",
4848
"chunks/intelligence-U442RVOZ.js": "8c8d9a009a8d4865d7d1dbc007a452f8ac71392be8e1941759aa4b4f4de3b0e2",
4949
"chunks/java-Q4QY5WIU.js": "0e98e9ac6adfe52d73cad59d38edad234aa703b9404c3e48221acb7fb462588a",
5050
"chunks/javascript-MNGAUOGC.js": "6a21f56642b78e5ad94e377fb019c3decf66dae76c46c9fede8dabbbef3605f5",

‎tools/web-ui/src/page/views/health.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function yourProblems(context: PageContext, job: JobPanel): HTMLElement {
127127

128128
/** A Fix button for a row whose fix is the command itself, text for any other hint. */
129129
function fixCell(found: Check, startFix: () => void): Node | null {
130-
if (found.fix === null) return null;
130+
if (!found.fix) return null;
131131
if (found.fix !== FIX_COMMAND) return fixHint(found.fix);
132132
const button = h("button", { type: "button", class: "button row-fix", "aria-label": `Fix ${found.name}`, title: FIX_TITLE }, "Fix");
133133
button.addEventListener("click", startFix);

0 commit comments

Comments
 (0)