DEV: Remove legacy topic-list code (#78)
This commit is contained in:
parent
03fc59b981
commit
f3a9b47f83
|
@ -1,3 +1,4 @@
|
|||
< 3.5.0.beta3-dev: 03fc59b9814897ab39aa6a6963381b6bd09bf83e
|
||||
< 3.5.0.beta1-dev: 83e2797ceb40d9832a40ee8c4bc32c7127e9dcda
|
||||
< 3.4.0.beta4-dev: a5ff3374335f17b46654c4ae1e5be7b539c2da1a
|
||||
< 3.4.0.beta1-dev: 93551f55d6e9f8d688f1f9dc0b6a2f14eb08b603
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
import { apiInitializer } from "discourse/lib/api";
|
||||
import { withSilencedDeprecations } from "discourse/lib/deprecated";
|
||||
|
||||
export default apiInitializer("0.8", (api) => {
|
||||
api.registerValueTransformer("topic-list-item-expand-pinned", () => true);
|
||||
|
||||
withSilencedDeprecations("discourse.hbr-topic-list-overrides", () => {
|
||||
api.modifyClass("component:topic-list-item", {
|
||||
pluginId: "discourse-air",
|
||||
expandPinned: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue