diff --git a/app/Http/Controllers/Api/Client/Servers/NetworkAllocationController.php b/app/Http/Controllers/Api/Client/Servers/NetworkAllocationController.php index 2068dd0e3..0e9c3c87b 100644 --- a/app/Http/Controllers/Api/Client/Servers/NetworkAllocationController.php +++ b/app/Http/Controllers/Api/Client/Servers/NetworkAllocationController.php @@ -41,7 +41,7 @@ class NetworkAllocationController extends ClientApiController } /** - * Set the primary allocation for a server. + * Set the notes for an allocation. * * @throws \Pterodactyl\Exceptions\Model\DataValidationException * @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException @@ -85,7 +85,7 @@ class NetworkAllocationController extends ClientApiController } /** - * Set the notes for the allocation for a server. + * Create a new allocation for a server. *s. * * @throws DisplayException diff --git a/resources/scripts/components/server/files/FileEditContainer.tsx b/resources/scripts/components/server/files/FileEditContainer.tsx index 75ad2aa3a..79bd20811 100644 --- a/resources/scripts/components/server/files/FileEditContainer.tsx +++ b/resources/scripts/components/server/files/FileEditContainer.tsx @@ -122,7 +122,7 @@ const FileEditContainer = () => { } return ( - + @@ -134,7 +134,7 @@ const FileEditContainer = () => { - {filename === '.pteroignore' ? ( + {['.pyroignore', '.pteroignore'].includes(filename) ? (

You're editing a{' '} @@ -156,11 +156,8 @@ const FileEditContainer = () => { }} /> -

div>div]:h-full [&>div>div]:outline-hidden! w-full`} - > +
{ save(); } }} + className='w-full h-full' />
-
+
@@ -217,7 +215,7 @@ const FileEditContainer = () => { /> - + a.name.localeCompare(b.name))} memo> {(language) => ( {

This folder is empty.

) : ( <> -
+