dsh-model-switch 0.4.74 → 0.4.75
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/CHANGELOG.md +7 -0
- package/lib/client.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -3366,7 +3366,7 @@ window.__ModuleLoader__.load({
|
|
|
3366
3366
|
className: ModelSwitchSettings_module_css_default.hint,
|
|
3367
3367
|
children: props.t("reviewAllowlistSkipped").replace("{count}", String(reviewStatus.skippedReadOnly))
|
|
3368
3368
|
}),
|
|
3369
|
-
|
|
3369
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3370
3370
|
className: ModelSwitchSettings_module_css_default.rowCard,
|
|
3371
3371
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3372
3372
|
className: ModelSwitchSettings_module_css_default.rowCopy,
|
|
@@ -3381,12 +3381,12 @@ window.__ModuleLoader__.load({
|
|
|
3381
3381
|
}),
|
|
3382
3382
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
3383
3383
|
className: ModelSwitchSettings_module_css_default.hint,
|
|
3384
|
-
children: reviewStatus.purgeInstalled === true ? props.t("reviewOwnGatePatched").replace("{neutered}", reviewStatus.officialGateNeutered === void 0 ? props.t("reviewOwnGateUnknown") : reviewStatus.officialGateNeutered ? props.t("reviewOwnGateNeuteredYes") : props.t("reviewOwnGateNeuteredNo")) : props.t("reviewOwnGateUnavailable")
|
|
3384
|
+
children: reviewStatus === void 0 ? props.t("reviewOwnGateUnknown") : reviewStatus.purgeInstalled === true ? props.t("reviewOwnGatePatched").replace("{neutered}", reviewStatus.officialGateNeutered === void 0 ? props.t("reviewOwnGateUnknown") : reviewStatus.officialGateNeutered ? props.t("reviewOwnGateNeuteredYes") : props.t("reviewOwnGateNeuteredNo")) : props.t("reviewOwnGateUnavailable")
|
|
3385
3385
|
})
|
|
3386
3386
|
]
|
|
3387
3387
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InstantSwitch, {
|
|
3388
3388
|
checked: ownGateSettingOn,
|
|
3389
|
-
disabled: busy !== void 0 || !allowlistWritable || reviewStatus
|
|
3389
|
+
disabled: busy !== void 0 || !allowlistWritable || reviewStatus?.purgeInstalled !== true,
|
|
3390
3390
|
label: props.t("reviewOwnGate"),
|
|
3391
3391
|
onChange: (next) => {
|
|
3392
3392
|
run("allowlist", () => props.saveReviewOwnGate(next));
|