diff --git a/src/app/dashboard/components/sections/admin-settings/admin-settings.component.ts b/src/app/dashboard/components/sections/admin-settings/admin-settings.component.ts index 2adb832..c3a26d4 100644 --- a/src/app/dashboard/components/sections/admin-settings/admin-settings.component.ts +++ b/src/app/dashboard/components/sections/admin-settings/admin-settings.component.ts @@ -1,5 +1,12 @@ /* eslint-disable max-lines */ -import { Component, inject, OnDestroy } from '@angular/core'; +import { + Component, + EventEmitter, + inject, + Input, + OnDestroy, + Output, +} from '@angular/core'; import { ModalComponent } from '../../shared/modal.component'; import { AdministrationEndpointsService } from '@endpoints/administration-endpoints.service'; import { NotificationService } from 'app/shared/services/notification.service'; @@ -15,137 +22,154 @@ import { RouterLink } from '@angular/router'; standalone: true, imports: [ModalComponent, CommonModule, AllowedRolesDirective, RouterLink], template: ` -
{{ errorMessage }}
- } + class="relative ease-in-out duration-150 transition-all {{ + isOptionsVisible + ? 'top-0 opacity-100 z-30 h-fit' + : '-top-32 xs:-top-16 opacity-0 -z-50 h-0' + }}"> +{{ errorMessage }}
+ } +{{ errorMessage }}
- } + class="relative ease-in-out duration-150 transition-all {{ + isOptionsVisible + ? 'top-0 opacity-100 z-30 h-fit' + : '-top-32 xs:-top-16 opacity-0 -z-50 h-0' + }}"> +{{ errorMessage }}
+ } +