Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix some components after Angular 6 upgrade

Chocobozzze998cf3cc757
diff --git a/client/package.json b/client/package.json
index b9e2feb052..cd975dd0bc 100644
--- a/client/package.json
+++ b/client/package.json
@@ -65,7 +65,7 @@
"linkifyjs": "^2.1.5",
"lodash-es": "^4.17.4",
"markdown-it": "^8.4.0",
- "ngx-bootstrap": "2.0.3",
+ "ngx-bootstrap": "2.0.5",
"ngx-chips": "1.9.2",
"ngx-clipboard": "11.0.0",
"ngx-pipes": "^2.1.7",
diff --git a/client/src/app/shared/misc/help.component.scss b/client/src/app/shared/misc/help.component.scss
index 0df8b86fa0..fe64a270d7 100644
--- a/client/src/app/shared/misc/help.component.scss
+++ b/client/src/app/shared/misc/help.component.scss
@@ -9,6 +9,7 @@
background-image: url('../../../assets/images/global/help.svg');
background-color: #fff;
border: none;
+ margin: 5px;
}
/deep/ {
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html
index 77b554ad5d..7e1be44670 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html
@@ -14,7 +14,7 @@
<div class="form-group">
<label class="label-tags">Tags</label> <span>(press Enter to add)</span>
<tag-input
- [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
+ [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
formControlName="tags" maxItems="5" modelAsStrings="true"
></tag-input>
</div>
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
index 58ed5ab986..1295cf0987 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
@@ -5,10 +5,6 @@
@include peertube-select-container(auto);
}
-.form-group-checkbox {
- my-help { margin-left: 5px }
-}
-
.video-edit {
height: 100%;
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
index eab0a898ec..af4438bd26 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
@@ -30,7 +30,6 @@ export class VideoEditComponent implements OnInit {
@Input() videoPrivacies = []
@Input() userVideoChannels = []
- tags: string[] = []
videoCategories = []
videoLicences = []
videoLanguages = []
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 2e1e5bf65a..8331c9fa34 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -227,6 +227,10 @@ p-table {
width: 250px !important;
padding: 0 !important;
text-align: center;
+
+ my-edit-button + my-delete-button {
+ margin-left: 5px;
+ }
}
p-paginator {
diff --git a/client/yarn.lock b/client/yarn.lock
index 0c08fc354f..ee4af2e51b 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -5464,9 +5464,9 @@ [email protected]:
dependencies:
tslib "^1.9.0"
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.3.tgz#b8ca4be305be4e2e99f60d941cc8a3e906f198d7"
+ version "2.0.5"
+ resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.5.tgz#83aab39d1e4fe811fad2b34f7927f9ce19d68daa"
version "1.9.2"