Skip to content

Commit

Permalink
basic formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lanrekkeeg committed Feb 27, 2023
1 parent ef62ea3 commit 1a4b575
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ export class WineryLicenseComponent implements OnInit {
}

checkLicenseData() {

if (this.leService.isFinished()) {
const toscaElements = this.sharedData.path.split('/');
const toscaElementID = toscaElements[toscaElements.length - 1];
Expand All @@ -396,16 +395,16 @@ export class WineryLicenseComponent implements OnInit {
if (data.hasOwnProperty('UNKNOWN LICENSE')) {
this.unknowLicense = data['UNKNOWN LICENSE'];
delete data['UNKNOWN LICENSE'];
} else { this.unknowLicense = [];}
} else { this.unknowLicense = []; }
if (data.hasOwnProperty('NULL LICENSE')) {

this.nullLicense = data['NULL LICENSE'];
delete data['NULL LICENSE'];
}
else {
} else {
this.nullLicense = [];
}
for (const entry in data) {
if (data.hasOwnProperty(entry)){
if (data.hasOwnProperty(entry)) {
const tempList = [];
for (const index in data[entry]) {

Expand All @@ -430,15 +429,14 @@ export class WineryLicenseComponent implements OnInit {
this.firstFormGroup.enable();
this.stepper.selected.completed = true;
this.stepper.next();
}
else {
} else {
this.failed();
}
}

deleteFromBackend() {
const filenames = [];
for (const key in this.treeData){
for (const key in this.treeData) {
if (this.treeData.hasOwnProperty(key)) {
for (const val in this.treeData[key]) {
if (this.treeData[key][val]) {
Expand Down

0 comments on commit 1a4b575

Please sign in to comment.