mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-1512] Upgrade prettier (#5028)
* Upgrade prettier * Lock prettier version
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
}}</span>
|
||||
</td>
|
||||
<td bitCell class="tw-text-muted">
|
||||
{{ orgDomain.lastCheckedDate | date: "medium" }}
|
||||
{{ orgDomain.lastCheckedDate | date : "medium" }}
|
||||
</td>
|
||||
|
||||
<td bitCell class="table-list-options tw-text-right">
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-container
|
||||
*ngIf="!loading && (clients | search: searchText:'organizationName':'id') as searchedClients"
|
||||
*ngIf="!loading && (clients | search : searchText : 'organizationName' : 'id') as searchedClients"
|
||||
>
|
||||
<p *ngIf="!searchedClients.length">{{ "noClientsInList" | i18n }}</p>
|
||||
<ng-container *ngIf="searchedClients.length">
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let e of events">
|
||||
<td>{{ e.date | date: "medium" }}</td>
|
||||
<td>{{ e.date | date : "medium" }}</td>
|
||||
<td>
|
||||
<i
|
||||
class="text-muted bwi bwi-lg {{ e.appIcon }}"
|
||||
|
||||
@@ -100,7 +100,9 @@
|
||||
<ng-container
|
||||
*ngIf="
|
||||
!loading &&
|
||||
(isPaging() ? pagedUsers : (users | search: searchText:'name':'email':'id')) as searchedUsers
|
||||
(isPaging()
|
||||
? pagedUsers
|
||||
: (users | search : searchText : 'name' : 'email' : 'id')) as searchedUsers
|
||||
"
|
||||
>
|
||||
<p *ngIf="!searchedUsers.length">{{ "noUsersInList" | i18n }}</p>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
required
|
||||
appAutoFocus
|
||||
/>
|
||||
<small class="text-muted">{{ "inviteMultipleEmailDesc" | i18n: "20" }}</small>
|
||||
<small class="text-muted">{{ "inviteMultipleEmailDesc" | i18n : "20" }}</small>
|
||||
</div>
|
||||
</ng-container>
|
||||
<h3>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="tw-text-lg">{{ title }}</div>
|
||||
<bit-progress class="tw-flex-1" [showText]="false" [barWidth]="barWidth"></bit-progress>
|
||||
<span *ngIf="tasks.length > 0; else spinner">
|
||||
{{ "complete" | i18n: amountCompleted:tasks.length }}
|
||||
{{ "complete" | i18n : amountCompleted : tasks.length }}
|
||||
</span>
|
||||
<i
|
||||
class="bwi tw-my-auto"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
[projects]="view.latestProjects"
|
||||
></sm-projects-list>
|
||||
<div *ngIf="view.allProjects.length > 0" class="tw-ml-auto tw-mt-4 tw-max-w-max">
|
||||
{{ "showingPortionOfTotal" | i18n: view.latestProjects.length:view.allProjects.length }}
|
||||
{{ "showingPortionOfTotal" | i18n : view.latestProjects.length : view.allProjects.length }}
|
||||
<a bitLink routerLink="projects" class="tw-ml-2">{{ "viewAll" | i18n }}</a>
|
||||
</div>
|
||||
</sm-section>
|
||||
@@ -66,7 +66,7 @@
|
||||
[secrets]="view.latestSecrets"
|
||||
></sm-secrets-list>
|
||||
<div *ngIf="view.allSecrets.length > 0" class="tw-ml-auto tw-mt-4 tw-max-w-max">
|
||||
{{ "showingPortionOfTotal" | i18n: view.latestSecrets.length:view.allSecrets.length }}
|
||||
{{ "showingPortionOfTotal" | i18n : view.latestSecrets.length : view.allSecrets.length }}
|
||||
<a bitLink routerLink="secrets" class="tw-ml-2">{{ "viewAll" | i18n }}</a>
|
||||
</div>
|
||||
</sm-section>
|
||||
|
||||
@@ -59,9 +59,9 @@
|
||||
<td bitCell>{{ token.name }}</td>
|
||||
<td bitCell>{{ permission(token) | i18n }}</td>
|
||||
<td bitCell>
|
||||
{{ token.expireAt === null ? ("never" | i18n) : (token.expireAt | date: "medium") }}
|
||||
{{ token.expireAt === null ? ("never" | i18n) : (token.expireAt | date : "medium") }}
|
||||
</td>
|
||||
<td bitCell>{{ token.revisionDate | date: "medium" }}</td>
|
||||
<td bitCell>{{ token.revisionDate | date : "medium" }}</td>
|
||||
<td bitCell>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
<bit-callout type="info" [title]="'accessTokenCallOutTitle' | i18n">
|
||||
{{ "downloadAccessToken" | i18n }}<br />
|
||||
{{ "expiresOnAccessToken" | i18n }}
|
||||
{{ data.expirationDate === null ? ("never" | i18n) : (data.expirationDate | date: "medium") }}
|
||||
{{
|
||||
data.expirationDate === null ? ("never" | i18n) : (data.expirationDate | date : "medium")
|
||||
}}
|
||||
</bit-callout>
|
||||
|
||||
<bit-form-field class="tw-mb-0">
|
||||
@@ -18,7 +20,7 @@
|
||||
<textarea bitInput disabled rows="4">{{ data.accessToken }}</textarea>
|
||||
</bit-form-field>
|
||||
{{ "expiresOnAccessToken" | i18n }}
|
||||
{{ data.expirationDate === null ? ("never" | i18n) : (data.expirationDate | date: "medium") }}
|
||||
{{ data.expirationDate === null ? ("never" | i18n) : (data.expirationDate | date : "medium") }}
|
||||
</div>
|
||||
|
||||
<div bitDialogFooter class="tw-flex tw-gap-2">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<select bitInput formControlName="expires">
|
||||
<option ngValue="never">{{ "never" | i18n }}</option>
|
||||
<option *ngFor="let day of expirationDayOptions" [ngValue]="day">
|
||||
{{ "days" | i18n: day }}
|
||||
{{ "days" | i18n : day }}
|
||||
</option>
|
||||
<option ngValue="custom">{{ "custom" | i18n }}</option>
|
||||
</select>
|
||||
@@ -14,7 +14,7 @@
|
||||
<input
|
||||
bitInput
|
||||
type="datetime-local"
|
||||
[min]="currentDate | date: 'YYYY-MM-ddThh:mm'"
|
||||
[min]="currentDate | date : 'YYYY-MM-ddThh:mm'"
|
||||
formControlName="expireDateTime"
|
||||
/>
|
||||
</bit-form-field>
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<!-- TODO add number of secrets once mapping is implemented-->
|
||||
<span> 0 </span>
|
||||
</td>
|
||||
<td bitCell>{{ serviceAccount.revisionDate | date: "medium" }}</td>
|
||||
<td bitCell>{{ serviceAccount.revisionDate | date : "medium" }}</td>
|
||||
<td bitCell>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
||||
<div class="tw-my-4 tw-max-w-xl">
|
||||
<app-callout type="info" title="{{ 'exportingOrganizationSecretDataTitle' | i18n }}">
|
||||
{{ "exportingOrganizationSecretDataDescription" | i18n: orgName }}
|
||||
{{ "exportingOrganizationSecretDataDescription" | i18n : orgName }}
|
||||
</app-callout>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
}}</a>
|
||||
</div>
|
||||
</td>
|
||||
<td bitCell class="tw-whitespace-nowrap">{{ project.revisionDate | date: "medium" }}</td>
|
||||
<td bitCell class="tw-whitespace-nowrap">{{ project.revisionDate | date : "medium" }}</td>
|
||||
<td bitCell>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -78,14 +78,14 @@
|
||||
class="tw-ml-1"
|
||||
[title]="project.name"
|
||||
>
|
||||
{{ project.name | ellipsis: 32 }}
|
||||
{{ project.name | ellipsis : 32 }}
|
||||
</span>
|
||||
<span *ngIf="secret.projects.length === 0" bitBadge badgeType="warning" class="tw-ml-1"
|
||||
><i class="bwi bwi-fw bwi-exclamation-triangle tw-mr-1" aria-hidden="true"></i
|
||||
>{{ "unassigned" | i18n }}</span
|
||||
>
|
||||
</td>
|
||||
<td bitCell class="tw-whitespace-nowrap">{{ secret.revisionDate | date: "medium" }}</td>
|
||||
<td bitCell class="tw-whitespace-nowrap">{{ secret.revisionDate | date : "medium" }}</td>
|
||||
<td bitCell>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user