mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:46:12 +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: "route-disconnect-outlet" },
|
||||
{ handler: "silence", matchId: "this-property-fallback" },
|
||||
{ handler: "silence", matchId: "discourse.select-kit" },
|
||||
],
|
||||
};
|
||||
|
|
|
@ -1083,17 +1083,11 @@ export default Component.extend(
|
|||
},
|
||||
|
||||
_deprecated(text) {
|
||||
const discourseSetup = document.getElementById("data-discourse-setup");
|
||||
if (
|
||||
discourseSetup &&
|
||||
discourseSetup.getAttribute("data-environment") === "development"
|
||||
) {
|
||||
deprecated(text, {
|
||||
since: "v2.4.0",
|
||||
dropFrom: "2.9.0.beta1",
|
||||
id: "discourse.select-kit",
|
||||
});
|
||||
}
|
||||
deprecated(text, {
|
||||
since: "v2.4.0",
|
||||
dropFrom: "2.9.0.beta1",
|
||||
id: "discourse.select-kit",
|
||||
});
|
||||
},
|
||||
|
||||
_deprecateValueAttribute() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user