mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
fix: import translation constants in dialog share component
This commit is contained in:
parent
0c73198a71
commit
5b070a395c
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import { FormsModule } from '@angular/forms';
|
|||
import { ShareService } from '../share.service';
|
||||
import { ShareDialogOptions, ShareResult, ShareTarget } from '../share.model';
|
||||
import { ShareFormatter } from '../share-formatter';
|
||||
import { T } from '../../../t.const';
|
||||
|
||||
interface ShareTargetButton {
|
||||
target: ShareTarget;
|
||||
|
|
@ -33,7 +34,9 @@ interface ShareTargetButton {
|
|||
export class DialogShareComponent {
|
||||
private _dialogRef = inject(MatDialogRef<DialogShareComponent>);
|
||||
private _shareService = inject(ShareService);
|
||||
|
||||
readonly data = inject<ShareDialogOptions>(MAT_DIALOG_DATA);
|
||||
readonly T = T;
|
||||
|
||||
mastodonInstance = this.data.mastodonInstance || 'mastodon.social';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue