diff options
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts index 29a711378..5eef96145 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | |||
@@ -29,7 +29,7 @@ export type VideoActionsDisplayType = { | |||
29 | liveInfo?: boolean | 29 | liveInfo?: boolean |
30 | removeFiles?: boolean | 30 | removeFiles?: boolean |
31 | transcoding?: boolean | 31 | transcoding?: boolean |
32 | editor?: boolean | 32 | studio?: boolean |
33 | } | 33 | } |
34 | 34 | ||
35 | @Component({ | 35 | @Component({ |
@@ -61,7 +61,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
61 | liveInfo: false, | 61 | liveInfo: false, |
62 | removeFiles: false, | 62 | removeFiles: false, |
63 | transcoding: false, | 63 | transcoding: false, |
64 | editor: true | 64 | studio: true |
65 | } | 65 | } |
66 | @Input() placement = 'left' | 66 | @Input() placement = 'left' |
67 | 67 | ||
@@ -153,7 +153,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
153 | } | 153 | } |
154 | 154 | ||
155 | isVideoEditable () { | 155 | isVideoEditable () { |
156 | return this.video.isEditableBy(this.user, this.serverService.getHTMLConfig().videoEditor.enabled) | 156 | return this.video.isEditableBy(this.user, this.serverService.getHTMLConfig().videoStudio.enabled) |
157 | } | 157 | } |
158 | 158 | ||
159 | isVideoRemovable () { | 159 | isVideoRemovable () { |
@@ -337,10 +337,10 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
337 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.update && this.isVideoUpdatable() | 337 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.update && this.isVideoUpdatable() |
338 | }, | 338 | }, |
339 | { | 339 | { |
340 | label: $localize`Editor`, | 340 | label: $localize`Studio`, |
341 | linkBuilder: ({ video }) => [ '/video-editor/edit', video.uuid ], | 341 | linkBuilder: ({ video }) => [ '/studio/edit', video.uuid ], |
342 | iconName: 'film', | 342 | iconName: 'film', |
343 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.editor && this.isVideoEditable() | 343 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.studio && this.isVideoEditable() |
344 | }, | 344 | }, |
345 | { | 345 | { |
346 | label: $localize`Block`, | 346 | label: $localize`Block`, |