Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 45eabed

Browse files
authored
DEV: Ween off deprecated plugin nav mode option (#1095)
We have removed this flag in core. All plugins now use the "top mode" for their navigation. A backwards-compatible change has been made in core while we remove the usage from plugins.
1 parent a53719a commit 45eabed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.discourse-compatibility

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
< 3.4.0.beta4-dev: a53719ab8eb071459f215227421b3ea4987e5f87
12
< 3.4.0.beta4-dev: 20612fde52d3f740cad64823ef8aadb0748b567f
23
< 3.4.0.beta3-dev: decf1bb49d737ea15308400f22f89d1d1e71d13d
34
< 3.4.0.beta1-dev: 9d887ad4ace8e33c3fe7dbb39237e882c08b4f0b

assets/javascripts/initializers/admin-plugin-configuration-nav.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { PLUGIN_NAV_MODE_TOP } from "discourse/lib/admin-plugin-config-nav";
21
import { withPluginApi } from "discourse/lib/plugin-api";
32

43
export default {
@@ -11,7 +10,7 @@ export default {
1110
}
1211

1312
withPluginApi("1.1.0", (api) => {
14-
api.addAdminPluginConfigurationNav("discourse-ai", PLUGIN_NAV_MODE_TOP, [
13+
api.addAdminPluginConfigurationNav("discourse-ai", [
1514
{
1615
label: "discourse_ai.usage.short_title",
1716
route: "adminPlugins.show.discourse-ai-usage",

0 commit comments

Comments
 (0)