Skip to content

Commit

Permalink
[Vue] Field can be readonly (#28355)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert authored Dec 31, 2024
1 parent 77c5ddd commit 5cae38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import axios, { type AxiosPromise } from 'axios';

export default class LoginService {
<%_ if (!authenticationTypeOauth2) { _%>
private emit: (event: string, ...args: any[]) => void;
private readonly emit: (event: string, ...args: any[]) => void;

constructor({ emit }: { emit: (event: string, ...args: any[]) => void }) {
this.emit = emit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import dayjs from 'dayjs';
import languages from '@/shared/config/languages';

export default class TranslationService {
private i18n: Composer;
private readonly i18n: Composer;
private languages = languages();

constructor(i18n: Composer) {
Expand Down

0 comments on commit 5cae38d

Please sign in to comment.