@takagaki/cortex-decisions-viewer 0.4.22 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.js +1 -0
- package/dist/render.js +3 -1
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -160,6 +160,7 @@ async function readFleetSources(repoRoot) {
|
|
|
160
160
|
lastSuccess: p.lastSuccess != null ? String(p.lastSuccess) : undefined,
|
|
161
161
|
lastConclusion: p.lastConclusion != null ? String(p.lastConclusion) : undefined,
|
|
162
162
|
lastRun: p.lastRun != null ? String(p.lastRun) : undefined,
|
|
163
|
+
applicable: typeof p.applicable === "boolean" ? p.applicable : undefined,
|
|
163
164
|
}))
|
|
164
165
|
: undefined;
|
|
165
166
|
return { externalSources, internalSources, pipelines };
|
package/dist/render.js
CHANGED
|
@@ -735,7 +735,9 @@ const CLIENT_JS = `
|
|
|
735
735
|
function renderDataSources() {
|
|
736
736
|
var internals = SITE.internalSources || [];
|
|
737
737
|
var sources = SITE.externalSources || [];
|
|
738
|
-
|
|
738
|
+
// tools宣言上この案件の対象外(applicable: false)のパイプラインは載せない
|
|
739
|
+
// (スキップ正常終了のrunが成功表示に見えるため)。フィールド無しは従来どおり表示する。
|
|
740
|
+
var pipes = (SITE.pipelines || []).filter(function (p) { return p.applicable !== false; });
|
|
739
741
|
if (!internals.length && !sources.length && !pipes.length) return; // すべて無ければセクションごと出さない
|
|
740
742
|
|
|
741
743
|
var sec = el("section", { class: "datasources" });
|
package/package.json
CHANGED