Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Translation/Attribute/Response/DomainList.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ public function __construct()
title: 'Domain',
description: 'The domain name.',
type: 'string',
example: 'admin'
example: 'studio'
),
new Property(
'isFrontendDomain',
title: 'Is Frontend Domain',
description: 'If the domain is a frontend or admin domain.',
description: 'If the domain is a frontend or main domain.',
type: 'boolean',
example: false
),
Expand Down
2 changes: 1 addition & 1 deletion src/Translation/Service/TranslatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function getAvailableDomains(): array
foreach ($domains as $domain) {
$availableDomains[] = [
'domain' => $domain,
'isFrontendDomain' => $domain !== 'studio' && $domain !== 'admin',
'isFrontendDomain' => $domain !== 'studio',
];
}

Expand Down
Loading