diff --git a/ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts
index c5ecc8371a..5254b7574f 100644
--- a/ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts
+++ b/ui-ngx/src/app/modules/home/components/profile/device/mqtt-device-profile-transport-configuration.component.ts
@@ -56,10 +56,6 @@ export class MqttDeviceProfileTransportConfigurationComponent implements Control
transportPayloadTypes = Object.keys(TransportPayloadType);
- get protobufControls() {
- return this.getProtobufControls();
- }
-
transportPayloadTypeTranslations = transportPayloadTypeTranslationMap;
mqttDeviceProfileTransportConfigurationFormGroup: FormGroup;
@@ -215,21 +211,4 @@ export class MqttDeviceProfileTransportConfigurationComponent implements Control
}
return null;
}
-
- getProtobufControls() {
- return [
- {
- name: 'deviceAttributesProtoSchema',
- label: 'device-profile.attributes-proto-schema',
- errorControl: 'transportPayloadTypeConfiguration.deviceAttributesProtoSchema',
- errorText: 'device-profile.attributes-proto-schema-required'
- },
- {
- deviceTelemetryProtoSchema: 'deviceRpcRequestProtoSchema',
- label: 'device-profile.rpc-request-proto-schema',
- errorControl: 'transportPayloadTypeConfiguration.deviceRpcRequestProtoSchema',
- errorText: 'device-profile.rpc-request-proto-required'
- }
- ];
- }
}
diff --git a/ui-ngx/src/app/shared/components/protobuf-content.component.html b/ui-ngx/src/app/shared/components/protobuf-content.component.html
index 450c17e84b..b1ec6c8dd4 100644
--- a/ui-ngx/src/app/shared/components/protobuf-content.component.html
+++ b/ui-ngx/src/app/shared/components/protobuf-content.component.html
@@ -2,7 +2,7 @@
tb-fullscreen
[fullscreen]="fullscreen" (fullscreenChanged)="onFullscreen()" fxLayout="column">
-
+