Fix some components after Angular 6 upgrade
authorChocobozzz <me@florianbigard.com>
Tue, 15 May 2018 14:23:44 +0000 (16:23 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 16 May 2018 07:42:54 +0000 (09:42 +0200)
client/package.json
client/src/app/shared/misc/help.component.scss
client/src/app/videos/+video-edit/shared/video-edit.component.html
client/src/app/videos/+video-edit/shared/video-edit.component.scss
client/src/app/videos/+video-edit/shared/video-edit.component.ts
client/src/sass/application.scss
client/yarn.lock

index b9e2feb052bb3f998662c849e5d4942d3d75ca40..cd975dd0bc0937e4edcf01b16d5bc37a9e708661 100644 (file)
@@ -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",
index 0df8b86fa0c2c54b0567f5532adec9dca86bb794..fe64a270d79002ffe94815689667e9b7e653dc3b 100644 (file)
@@ -9,6 +9,7 @@
   background-image: url('../../../assets/images/global/help.svg');
   background-color: #fff;
   border: none;
+  margin: 5px;
 }
 
 /deep/ {
index 77b554ad5daedee67f1a5b9a250b24165921ac4e..7e1be446704032c481cdcef6f0c28e8b35f1bd31 100644 (file)
@@ -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>
index 58ed5ab986981f4879fdf2fab6a4460ac06265e7..1295cf0987a65c9596910e0574b90c022381bb99 100644 (file)
@@ -5,10 +5,6 @@
   @include peertube-select-container(auto);
 }
 
-.form-group-checkbox {
-  my-help { margin-left: 5px }
-}
-
 .video-edit {
   height: 100%;
 
index eab0a898ec72ae51e67f6cea41caa6a732084b7a..af4438bd269835ed3faedb31b84273549f4a89c3 100644 (file)
@@ -30,7 +30,6 @@ export class VideoEditComponent implements OnInit {
   @Input() videoPrivacies = []
   @Input() userVideoChannels = []
 
-  tags: string[] = []
   videoCategories = []
   videoLicences = []
   videoLanguages = []
index 2e1e5bf65a99678601253f8986c78a18982b1512..8331c9fa341e209920e8a0f4d2e2df3a39c7244b 100644 (file)
@@ -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 {
index 0c08fc354f6f0b629b7609cb3c65334b4d2f4a6d..ee4af2e51ba6c8073621e5aa01a5014c70edb05f 100644 (file)
@@ -5464,9 +5464,9 @@ ng2-material-dropdown@0.10.0:
   dependencies:
     tslib "^1.9.0"
 
-ngx-bootstrap@2.0.3:
-  version "2.0.3"
-  resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.3.tgz#b8ca4be305be4e2e99f60d941cc8a3e906f198d7"
+ngx-bootstrap@2.0.5:
+  version "2.0.5"
+  resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.5.tgz#83aab39d1e4fe811fad2b34f7927f9ce19d68daa"
 
 ngx-chips@1.9.2:
   version "1.9.2"