diff --git a/src/Squidex/app/features/rules/pages/rules/rules-page.component.html b/src/Squidex/app/features/rules/pages/rules/rules-page.component.html index 64d5d1665..0f95bfaca 100644 --- a/src/Squidex/app/features/rules/pages/rules/rules-page.component.html +++ b/src/Squidex/app/features/rules/pages/rules/rules-page.component.html @@ -30,7 +30,7 @@ - +

If

diff --git a/src/Squidex/app/features/rules/pages/rules/rules-page.component.ts b/src/Squidex/app/features/rules/pages/rules/rules-page.component.ts index 6bb8b3e65..e644d8c57 100644 --- a/src/Squidex/app/features/rules/pages/rules/rules-page.component.ts +++ b/src/Squidex/app/features/rules/pages/rules/rules-page.component.ts @@ -80,4 +80,8 @@ export class RulesPageComponent implements OnInit { this.addRuleDialog.show(); } + + public trackByRule(index: number, rule: RuleDto) { + return rule.id; + } } diff --git a/src/Squidex/app/features/settings/pages/clients/clients-page.component.html b/src/Squidex/app/features/settings/pages/clients/clients-page.component.html index 3c46de538..3b6605dce 100644 --- a/src/Squidex/app/features/settings/pages/clients/clients-page.component.html +++ b/src/Squidex/app/features/settings/pages/clients/clients-page.component.html @@ -10,26 +10,26 @@
No client created yet.
- + - -
- - - + \ No newline at end of file diff --git a/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts b/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts index 92ded1e01..6c4c26601 100644 --- a/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts +++ b/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts @@ -29,11 +29,11 @@ export class UsersDataSource implements AutocompleteSource { public find(query: string): Observable { return this.usersService.getUsers(query) - .withLatestFrom(this.contributorsState.contributors, (users, contributors) => { + .withLatestFrom(this.contributorsState.contributors.filter(x => !!x), (users, contributors) => { const results: any[] = []; for (let user of users) { - if (!contributors.find(t => t.contributor.contributorId === user.id)) { + if (!contributors!.find(t => t.contributor.contributorId === user.id)) { results.push(user); } } diff --git a/src/Squidex/app/features/settings/pages/plans/plans-page.component.html b/src/Squidex/app/features/settings/pages/plans/plans-page.component.html index a45818252..59c015f4b 100644 --- a/src/Squidex/app/features/settings/pages/plans/plans-page.component.html +++ b/src/Squidex/app/features/settings/pages/plans/plans-page.component.html @@ -6,71 +6,71 @@ - - + - -
- You have not created the subscription. Therefore you cannot change the plan. + +
+ You have not created the subscription. Therefore you cannot change the planInfo.plan.
-
+
No plan configured, this app has unlimited usage.
-
+
-

{{plan.name}}

-
{{plan.costs}}
+

{{planInfo.plan.name}}

+
{{planInfo.plan.costs}}
Per Month
- {{plan.maxApiCalls | sqxKNumber}} API Calls + {{planInfo.plan.maxApiCalls | sqxKNumber}} API Calls
- {{plan.maxAssetSize | sqxFileSize}} Storage + {{planInfo.plan.maxAssetSize | sqxFileSize}} Storage
- {{plan.maxContributors}} Contributors + {{planInfo.plan.maxContributors}} Contributors
- -
-
-