diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts index d4892a571..50b882cb8 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts | |||
@@ -71,6 +71,10 @@ export class EditLiveConfigurationComponent implements OnInit, OnChanges { | |||
71 | return this.editConfigurationService.isLiveEnabled(this.form) | 71 | return this.editConfigurationService.isLiveEnabled(this.form) |
72 | } | 72 | } |
73 | 73 | ||
74 | isRemoteRunnerLiveEnabled () { | ||
75 | return this.editConfigurationService.isRemoteRunnerLiveEnabled(this.form) | ||
76 | } | ||
77 | |||
74 | getDisabledLiveClass () { | 78 | getDisabledLiveClass () { |
75 | return { 'disabled-checkbox-extra': !this.isLiveEnabled() } | 79 | return { 'disabled-checkbox-extra': !this.isLiveEnabled() } |
76 | } | 80 | } |
@@ -79,6 +83,10 @@ export class EditLiveConfigurationComponent implements OnInit, OnChanges { | |||
79 | return { 'disabled-checkbox-extra': !this.isLiveEnabled() || !this.isLiveTranscodingEnabled() } | 83 | return { 'disabled-checkbox-extra': !this.isLiveEnabled() || !this.isLiveTranscodingEnabled() } |
80 | } | 84 | } |
81 | 85 | ||
86 | getDisabledLiveLocalTranscodingClass () { | ||
87 | return { 'disabled-checkbox-extra': !this.isLiveEnabled() || !this.isLiveTranscodingEnabled() || this.isRemoteRunnerLiveEnabled() } | ||
88 | } | ||
89 | |||
82 | isLiveTranscodingEnabled () { | 90 | isLiveTranscodingEnabled () { |
83 | return this.editConfigurationService.isLiveTranscodingEnabled(this.form) | 91 | return this.editConfigurationService.isLiveTranscodingEnabled(this.form) |
84 | } | 92 | } |