diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/plugins/shared/plugin-api.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/+admin/plugins/shared/plugin-api.service.ts b/client/src/app/+admin/plugins/shared/plugin-api.service.ts index bf9129e01..1fb827832 100644 --- a/client/src/app/+admin/plugins/shared/plugin-api.service.ts +++ b/client/src/app/+admin/plugins/shared/plugin-api.service.ts | |||
@@ -5,12 +5,12 @@ import { Injectable } from '@angular/core' | |||
5 | import { ComponentPagination, RestExtractor, RestService } from '@app/core' | 5 | import { ComponentPagination, RestExtractor, RestService } from '@app/core' |
6 | import { PluginService } from '@app/core/plugins/plugin.service' | 6 | import { PluginService } from '@app/core/plugins/plugin.service' |
7 | import { I18n } from '@ngx-translate/i18n-polyfill' | 7 | import { I18n } from '@ngx-translate/i18n-polyfill' |
8 | import { peertubeTranslate } from '@shared/core-utils/i18n' | ||
8 | import { | 9 | import { |
9 | InstallOrUpdatePlugin, | 10 | InstallOrUpdatePlugin, |
10 | ManagePlugin, | 11 | ManagePlugin, |
11 | PeerTubePlugin, | 12 | PeerTubePlugin, |
12 | PeerTubePluginIndex, | 13 | PeerTubePluginIndex, |
13 | peertubeTranslate, | ||
14 | PluginType, | 14 | PluginType, |
15 | RegisteredServerSettings, | 15 | RegisteredServerSettings, |
16 | ResultList | 16 | ResultList |
diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index 22ec42520..bdbb10814 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -1,8 +1,9 @@ | |||
1 | import { OnInit, Directive } from '@angular/core' | 1 | import { Directive, OnInit } from '@angular/core' |
2 | import { ConfigService } from '@app/+admin/config/shared/config.service' | 2 | import { ConfigService } from '@app/+admin/config/shared/config.service' |
3 | import { AuthService, ScreenService, ServerService, User } from '@app/core' | 3 | import { AuthService, ScreenService, ServerService, User } from '@app/core' |
4 | import { FormReactive } from '@app/shared/shared-forms' | 4 | import { FormReactive } from '@app/shared/shared-forms' |
5 | import { ServerConfig, USER_ROLE_LABELS, UserAdminFlag, UserRole, VideoResolution } from '@shared/models' | 5 | import { USER_ROLE_LABELS } from '@shared/core-utils/users' |
6 | import { ServerConfig, UserAdminFlag, UserRole, VideoResolution } from '@shared/models' | ||
6 | 7 | ||
7 | @Directive() | 8 | @Directive() |
8 | export abstract class UserEdit extends FormReactive implements OnInit { | 9 | export abstract class UserEdit extends FormReactive implements OnInit { |