Skip to content

Commit 8970839

Browse files
committed
fixed linting issues in studiodetailspanel and studiodetailsrow
1 parent 558d629 commit 8970839

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

contentcuration/contentcuration/frontend/shared/views/details/StudioDetailsPanel.vue

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@
336336
class="sample-nodes"
337337
:class="{
338338
'printing-grid': printing,
339-
'small': windowIsSmall,
340-
'medium': windowIsMedium,
341-
'large': windowIsLarge
339+
small: windowIsSmall,
340+
medium: windowIsMedium,
341+
large: windowIsLarge,
342342
}"
343343
>
344344
<div
@@ -483,9 +483,7 @@
483483
},
484484
thumbnailSrc() {
485485
const encoding = this._details.thumbnail_encoding;
486-
return encoding && encoding.base64
487-
? encoding.base64
488-
: this._details.thumbnail_url;
486+
return encoding && encoding.base64 ? encoding.base64 : this._details.thumbnail_url;
489487
},
490488
defaultText() {
491489
// Making this a computed property so it's easier to update
@@ -572,8 +570,7 @@
572570
return this.categories.join(', ');
573571
},
574572
},
575-
mounted() {
576-
},
573+
mounted() {},
577574
methods: {
578575
channelUrl(channel) {
579576
return window.Urls.channel(channel.id);
@@ -609,7 +606,6 @@
609606
[SCALE_TEXT.VERY_LARGE]: 'Very large',
610607
containsContentHeading: 'Contains content from',
611608
sampleFromChannelHeading: 'Sample content from this channel',
612-
sampleFromTopicHeading: 'Sample content from this topic',
613609
tokenHeading: 'Channel token',
614610
publishedHeading: 'Published on',
615611
currentVersionHeading: 'Published version',

contentcuration/contentcuration/frontend/shared/views/details/StudioDetailsRow.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
class="studio-details-row"
55
:class="{
66
'printing-mode': printing,
7-
'small': windowIsSmall,
8-
'medium': windowIsMedium,
9-
'large': windowIsLarge
7+
small: windowIsSmall,
8+
medium: windowIsMedium,
9+
large: windowIsLarge,
1010
}"
1111
>
1212
<div class="label-column">

0 commit comments

Comments
 (0)