Fix missing link in welcome user modal

This commit is contained in:
Chocobozzz 2024-05-17 11:26:28 +02:00
parent 74b62dcb85
commit dd77235f2c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -1,6 +1,7 @@
import { CommonModule } from '@angular/common' import { CommonModule } from '@angular/common'
import { Component, ElementRef, ViewChild } from '@angular/core' import { Component, ElementRef, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms' import { FormsModule } from '@angular/forms'
import { RouterLink } from '@angular/router'
import { Notifier, ServerService, User, UserService } from '@app/core' import { Notifier, ServerService, User, UserService } from '@app/core'
import { PeertubeCheckboxComponent } from '@app/shared/shared-forms/peertube-checkbox.component' import { PeertubeCheckboxComponent } from '@app/shared/shared-forms/peertube-checkbox.component'
import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.component' import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.component'
@ -13,7 +14,7 @@ import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage'
templateUrl: './account-setup-warning-modal.component.html', templateUrl: './account-setup-warning-modal.component.html',
styleUrls: [ './account-setup-warning-modal.component.scss' ], styleUrls: [ './account-setup-warning-modal.component.scss' ],
standalone: true, standalone: true,
imports: [ CommonModule, GlobalIconComponent, PeertubeCheckboxComponent, FormsModule ] imports: [ CommonModule, GlobalIconComponent, PeertubeCheckboxComponent, FormsModule, RouterLink ]
}) })
export class AccountSetupWarningModalComponent { export class AccountSetupWarningModalComponent {
@ViewChild('modal', { static: true }) modal: ElementRef @ViewChild('modal', { static: true }) modal: ElementRef