Commit 6b91136a authored by Boris Vasilenko's avatar Boris Vasilenko
Browse files

NAS-114639: renaming

No related merge requests found
Showing with 5 additions and 5 deletions
+5 -5
......@@ -65,7 +65,7 @@ export class CertificatesDashComponent implements OnInit {
});
this.systemGeneralService.getUnsignedCertificates().pipe(untilDestroyed(this)).subscribe((res) => {
res.forEach((item) => {
this.signCsrFieldConfSelect.options.push(
this.unsignedCsrSelectField.options.push(
{ label: item.name, value: item.id },
);
});
......@@ -347,9 +347,9 @@ export class CertificatesDashComponent implements OnInit {
matTooltip: helptextSystemCa.list.action_sign,
onClick: (rowinner: CertificateAuthority) => {
this.systemGeneralService.getUnsignedCertificates().pipe(untilDestroyed(this)).subscribe((res) => {
this.signCsrFieldConfSelect.options = [];
this.unsignedCsrSelectField.options = [];
res.forEach((item) => {
this.signCsrFieldConfSelect.options.push(
this.unsignedCsrSelectField.options.push(
{ label: item.name, value: item.id },
);
});
......@@ -396,7 +396,7 @@ export class CertificatesDashComponent implements OnInit {
}, 200);
}
private signCsrFieldConfSelect: FormSelectConfig = {
private unsignedCsrSelectField: FormSelectConfig = {
type: 'select',
name: 'csr_cert_id',
placeholder: helptextSystemCa.sign.csr_cert_id.placeholder,
......@@ -406,7 +406,7 @@ export class CertificatesDashComponent implements OnInit {
};
protected signCsrFieldConf: FieldConfig[] = [
this.signCsrFieldConfSelect,
this.unsignedCsrSelectField,
{
type: 'input',
name: 'name',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment