Skip to content

Commit f973205

Browse files
committed
fix: feature toggle
1 parent f648ec8 commit f973205

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/App.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,12 @@ const AppWrapper = () => {
134134
userSettingsNoFallback,
135135
} = data
136136

137+
const appsModuleDelimiter = apiVersion >= 42 ? '/' : ':'
137138
const startModules = (data.apps.modules || []).map((module) => ({
138139
id:
139140
module.defaultAction.substr(0, 3) === '../'
140141
? module.name
141-
: `apps/${module.name}`,
142+
: `apps${appsModuleDelimiter}${module.name}`,
142143
displayName: module.displayName || module.name,
143144
}))
144145

0 commit comments

Comments
 (0)