mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove an old mobile-nav deprecation (#23493)
This commit is contained in:
parent
ce6ac81b29
commit
217985fdc3
@ -3,7 +3,6 @@ import Component from "@ember/component";
|
|||||||
import { action } from "@ember/object";
|
import { action } from "@ember/object";
|
||||||
import { next } from "@ember/runloop";
|
import { next } from "@ember/runloop";
|
||||||
import { inject as service } from "@ember/service";
|
import { inject as service } from "@ember/service";
|
||||||
import deprecated from "discourse-common/lib/deprecated";
|
|
||||||
|
|
||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
@on("init")
|
@on("init")
|
||||||
@ -15,13 +14,6 @@ export default Component.extend({
|
|||||||
this.set("classNames", classes);
|
this.set("classNames", classes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.currentPath) {
|
|
||||||
deprecated("{{mobile-nav}} no longer requires the currentPath property", {
|
|
||||||
since: "2.7.0.beta4",
|
|
||||||
dropFrom: "2.9.0.beta1",
|
|
||||||
id: "discourse.mobile-nav.currentPath",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
tagName: "ul",
|
tagName: "ul",
|
||||||
|
Loading…
Reference in New Issue
Block a user