Commit e5e50c2b authored by Mark Harding's avatar Mark Harding

(fix): further fixes for prettier upgrade

parent d05f20d6
No related merge requests found
Pipeline #95099716 running with stages
......@@ -44,7 +44,7 @@ export class ChannelBadgesComponent {
} else if (
!this.user.is_admin &&
this.session.isAdmin() &&
this.user.guid !== this.session.getLoggedInUser().guid
this.user.guid !== this.session.getLoggedInUser().guid
) {
return true;
}
......
......@@ -14,7 +14,8 @@ export let mindsHttpClientMock = new (function() {
}
if (
!res ||
(res.status && res.status === 'error') || res.status === 'failed'
(res.status && res.status === 'error') ||
res.status === 'failed'
)
observer.error(res);
......
......@@ -5,7 +5,7 @@
[class.m-groups--filter-selector-active]="filter == 'activity'"
[routerLink]="['/groups/profile', group.guid, 'feed']"
i18n="
group activities
group activities
selector|@@GROUPS__PROFILE__FILTER_SELECTOR__FEED_OPTION
"
>Feed</a
......@@ -15,7 +15,7 @@
[class.m-groups--filter-selector-active]="filter == 'image'"
[routerLink]="['/groups/profile', group.guid, 'feed', 'image']"
i18n="
group activities
group activities
selector|@@GROUPS__PROFILE__FILTER_SELECTOR__FEED_OPTION
"
>Images</a
......
......@@ -18,7 +18,7 @@
<ng-container
*ngIf="error == 'LoginException::Unknown'"
i18n="
@@MINDS__LOGIN__EXCEPTION__THERE_HAS_BEEN_AN_ERROR_PLEASE_TRY_AGAIN
@@MINDS__LOGIN__EXCEPTION__THERE_HAS_BEEN_AN_ERROR_PLEASE_TRY_AGAIN
"
>
There's been an error. Please try again
......
......@@ -43,7 +43,7 @@
>
<ng-container
i18n="
@@MONETIZATION__AD_SHARING__ANALYTICS__PAYOUT_UNDER_REVIEW_LABEL
@@MONETIZATION__AD_SHARING__ANALYTICS__PAYOUT_UNDER_REVIEW_LABEL
"
>Your payment request for
{{ payouts.amount | currency: 'USD':true }} is currently under review
......
......@@ -172,7 +172,7 @@
type="text"
placeholder="State or province"
i18n-placeholder="
@@MONETIZATION__ONBOARDING__STATE_PROVINCE_PLACEHOLDER
@@MONETIZATION__ONBOARDING__STATE_PROVINCE_PLACEHOLDER
"
/>
</div>
......
......@@ -94,7 +94,7 @@
<ng-template #editingCaption>
<p
i18n="
@@MONETIZATION__REVENUE__OPTIONS__ENTER_BANK_DETAILS_BELOW_LABEL
@@MONETIZATION__REVENUE__OPTIONS__ENTER_BANK_DETAILS_BELOW_LABEL
"
>
Enter your new bank account details below.
......@@ -128,7 +128,9 @@
<div class="mdl-cell mdl-cell--12-col">
<label
i18n="
@@MONETIZATION__REVENUE__OPTIONS__ROUTING_NUMBER_SORT_CODE_LABEL
"
>Routing Number / Sort Code</label
>
......
......@@ -174,7 +174,7 @@
<m-tooltip
icon="help"
i18n="
@@MINDS__NEWSFEED__BOOST_ROTATOR__BOOST_VISIBILITY_UPGRADE_TOOLTIP
@@MINDS__NEWSFEED__BOOST_ROTATOR__BOOST_VISIBILITY_UPGRADE_TOOLTIP
"
>
Upgrade to Plus in order to turn off Boost.
......
......@@ -267,7 +267,7 @@
!notification.entityObj.title
"
i18n="
object belonging to
object belonging to
user@@NOTIFICATIONS__NOTIFICATION__OTHER_OBJECT
"
>{{ notification.entityObj.ownerObj.name }}'s
......@@ -281,7 +281,7 @@
!notification.entityObj.title
"
i18n="
object belonging to current
object belonging to current
user@@NOTIFICATIONS__NOTIFICATION__OWN_OBJECT
"
>your {{ notification.entityObj.subtype }}</span
......@@ -302,7 +302,7 @@
<p>
<ng-container
i18n="
@@NOTIFICATIONS__NOTIFICATION__REPLIED_TO_GROUP_CONVERSATION
@@NOTIFICATIONS__NOTIFICATION__REPLIED_TO_GROUP_CONVERSATION
"
*ngIf="notification.params?.is_reply"
>
......@@ -356,7 +356,7 @@
class="pseudo-link mdl-color-text--blue-grey-400"
*ngIf="!notification.entityObj.title"
i18n="
object belonging to current
object belonging to current
user@@NOTIFICATIONS__NOTIFICATION__OWN_OBJECT
"
>your {{ notification.entityObj.subtype }}</span
......@@ -470,7 +470,7 @@
class="pseudo-link mdl-color-text--blue-grey-400"
*ngIf="!notification.entityObj.title"
i18n="
object belonging to current
object belonging to current
user@@NOTIFICATIONS__NOTIFICATION__OWN_OBJECT
"
>your {{ notification.entityObj.subtype }}</span
......@@ -493,7 +493,7 @@
<p *ngIf="!notification.entityObj.title">
<ng-container
i18n="
@@NOTIFICATIONS__NOTIFICATION__DOWNVOTE__VOTED_DOWN_OWN_ACTIVITY
@@NOTIFICATIONS__NOTIFICATION__DOWNVOTE__VOTED_DOWN_OWN_ACTIVITY
"
>{{ notification.fromObj.name }} down voted
<span class="pseudo-link mdl-color-text--blue-grey-400"
......@@ -539,7 +539,7 @@
>
<p
i18n="
@@NOTIFICATIONS__NOTIFICATION__DOWNVOTE__VOTED_DOWN_CONVERSATION
@@NOTIFICATIONS__NOTIFICATION__DOWNVOTE__VOTED_DOWN_CONVERSATION
"
>
<span class="pseudo-link mdl-color-text--blue-grey-400">{{
......@@ -587,7 +587,7 @@
class="pseudo-link mdl-color-text--blue-grey-400"
*ngIf="!notification.entityObj.title"
i18n="
object belonging to current
object belonging to current
user@@NOTIFICATIONS__NOTIFICATION__OWN_OBJECT
"
>your {{ notification.entityObj.subtype }}</span
......@@ -807,7 +807,9 @@
>
<ng-container
i18n="
boost@@NOTIFICATIONS__NOTIFICATION__BOOST_SUBMITTED__AWAITING_APPROVAL
"
>
is awaiting approval.</ng-container
......@@ -868,7 +870,9 @@
>
<ng-container
i18n="
boost@@NOTIFICATIONS__NOTIFICATION__BOOST_SUBMITTED_P2P__AWAITING_APPROVAL_BY
"
>
is awaiting approval by
......@@ -1305,7 +1309,7 @@
<p>
<ng-container
i18n="
@@NOTIFICATIONS__NOTIFICATION__BOOST_PEER_ACCEPTED__ACCEPTED_BID
@@NOTIFICATIONS__NOTIFICATION__BOOST_PEER_ACCEPTED__ACCEPTED_BID
"
><b>@{{ notification.from.username }}</b> accepted your bid
of</ng-container
......@@ -1366,7 +1370,7 @@
<p>
<ng-container
i18n="
@@NOTIFICATIONS__NOTIFICATION__BOOST_PEER_REJECTED__DECLINED_BID
@@NOTIFICATIONS__NOTIFICATION__BOOST_PEER_REJECTED__DECLINED_BID
"
><b>@{{ notification.from.username }}</b> declined your bid
of</ng-container
......@@ -1705,7 +1709,9 @@
<span
class="pseudo-link mdl-color-text--blue-grey-400"
i18n="
@@NOTIFICATIONS__NOTIFICATION__REPORT_ACTIONED__ACTIVITY_TITLE_BEEN
"
>Your post {{ notification.entityObj.title }}</span
>
......@@ -1754,7 +1760,9 @@
<a target="_blank" routerLink="/wallet/tokens/contributions">
<p
i18n="
@@NOTIFICATIONS__NOTIFICATION__REWARDS__YOU_HAVE_RECEIVED_X_TOKENS_TODAY
"
>
You earned {{ notification.params.amount }} tokens today.
......
......@@ -61,8 +61,8 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
return (
entity.type === 'group' ||
!!entity.thumbnail_src ||
!!entity.custom_data ||
(entity.thumbnails && entity.thumbnails.length > 0)
!!entity.custom_data ||
(entity.thumbnails && entity.thumbnails.length > 0)
);
});
})
......
......@@ -54,7 +54,9 @@
icon="help"
*ngIf="address.label == 'OnChain & Receiver'"
i18n="
@@WALLET__BALANCES__TOKENS__ADDRESS_LABEL_TOOLTIP_ONCHAIN_AND_RECEIVER
"
>
This is your currently active Web3/Metamask wallet and is also
......
......@@ -182,7 +182,7 @@
<ng-container *ngIf="downloadingMetamask">
<b
i18n="
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__METAMASK_NOTE_RELOAD
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__METAMASK_NOTE_RELOAD
"
>
Note: After installing and setting up MetaMask you might need to
......@@ -199,7 +199,8 @@
class="m-btn m-btn--slim m-btn--action"
(click)="downloadMetamask()"
i18n="
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__DOWNLOAD_METAMASK_ACTION
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__DOWNLOAD_METAMASK_ACTION
"
>
Download MetaMask
......@@ -220,7 +221,8 @@
<ng-template
#noProvidedAddress
i18n="
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__METAMASK_LOCKED_LEGEND
@@WALLET__TOKENS__ONBOARDING__ONCHAIN__METAMASK_LOCKED_LEGEND
"
>
MetaMask is either locked or connected to another network.
......
......@@ -178,7 +178,7 @@
type="text"
placeholder="State or province"
i18n-placeholder="
@@MONETIZATION__ONBOARDING__STATE_PROVINCE_PLACEHOLDER
@@MONETIZATION__ONBOARDING__STATE_PROVINCE_PLACEHOLDER
"
class="m-input"
/>
......
......@@ -134,9 +134,9 @@ export class WireChannelComponent {
return (
isOwner ||
this.rewards.description ||
(this.rewards.rewards.points && this.rewards.rewards.points.length) ||
(this.rewards.rewards.money && this.rewards.rewards.money.length) ||
(this.rewards.rewards.tokens && this.rewards.rewards.tokens.length)
(this.rewards.rewards.points && this.rewards.rewards.points.length) ||
(this.rewards.rewards.money && this.rewards.rewards.money.length) ||
(this.rewards.rewards.tokens && this.rewards.rewards.tokens.length)
);
}
......
......@@ -12,7 +12,8 @@ export let clientMock = new (function() {
}
if (
!res ||
(res.status && res.status === 'error') || res.status === 'failed'
(res.status && res.status === 'error') ||
res.status === 'failed'
)
reject(res);
......
......@@ -13,7 +13,8 @@ export let uploadMock = new (function() {
}
if (
!res ||
(res.status && res.status === 'error') || res.status === 'failed'
(res.status && res.status === 'error') ||
res.status === 'failed'
)
reject(res);
......
Please register or to comment