mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:20:43 +08:00
DEV: Show select-kit deprecations in non-dev envs (#21297)
We should have them in CI ;) (silenced for now, fixing them is not a priority)
This commit is contained in:
parent
a67c96438c
commit
4a08c23965
|
@ -8,5 +8,6 @@ globalThis.deprecationWorkflow.config = {
|
||||||
{ handler: "silence", matchId: "routing.transition-methods" },
|
{ handler: "silence", matchId: "routing.transition-methods" },
|
||||||
{ handler: "silence", matchId: "route-disconnect-outlet" },
|
{ handler: "silence", matchId: "route-disconnect-outlet" },
|
||||||
{ handler: "silence", matchId: "this-property-fallback" },
|
{ handler: "silence", matchId: "this-property-fallback" },
|
||||||
|
{ handler: "silence", matchId: "discourse.select-kit" },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1083,17 +1083,11 @@ export default Component.extend(
|
||||||
},
|
},
|
||||||
|
|
||||||
_deprecated(text) {
|
_deprecated(text) {
|
||||||
const discourseSetup = document.getElementById("data-discourse-setup");
|
deprecated(text, {
|
||||||
if (
|
since: "v2.4.0",
|
||||||
discourseSetup &&
|
dropFrom: "2.9.0.beta1",
|
||||||
discourseSetup.getAttribute("data-environment") === "development"
|
id: "discourse.select-kit",
|
||||||
) {
|
});
|
||||||
deprecated(text, {
|
|
||||||
since: "v2.4.0",
|
|
||||||
dropFrom: "2.9.0.beta1",
|
|
||||||
id: "discourse.select-kit",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_deprecateValueAttribute() {
|
_deprecateValueAttribute() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user