1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

fix: hideServer & hideClient

This commit is contained in:
loks0n 2024-02-24 13:42:33 +00:00
parent 6cc1235e86
commit 42e9865dff
5 changed files with 10 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -190,8 +190,12 @@ class Specs extends Action
}
if (empty($routeSecurity)) {
$sdkPlaforms[] = APP_PLATFORM_CLIENT;
$sdkPlaforms[] = APP_PLATFORM_SERVER;
if (!$route->getLabel('sdk.hideServer', false)) {
$sdkPlatforms[] = APP_PLATFORM_SERVER;
}
if (!$route->getLabel('sdk.hideClient', false)) {
$sdkPlatforms[] = APP_PLATFORM_CLIENT;
}
}
if (!$route->getLabel('docs', true)) {