Commit 09dee3bf authored by Lukas Burgey's avatar Lukas Burgey

Fix an incorrect type

parent 97cbdfa1
......@@ -2,7 +2,7 @@ import { Component, OnInit, Inject } from '@angular/core';
import { MAT_DIALOG_DATA, MatTableDataSource } from '@angular/material';
import { UserService } from '../../user.service';
import * as t from '../../types/types.module';
import { DeploymentStateItem, Service, CredentialState } from '../../types/types.module';
@Component({
selector: 'app-credentials',
......@@ -12,8 +12,8 @@ import * as t from '../../types/types.module';
export class CredentialsComponent implements OnInit {
public columns = ["name", "value"];
public stateItem: t.DeploymentStateItem;
public service: t.Service;
public stateItem: DeploymentStateItem;
public service: Service;
public credentialCount: number = 0;
public table: MatTableDataSource<any>;
......
......@@ -80,7 +80,7 @@ export interface DeploymentStateItem {
state: string;
questionnaire: JSONObject;
credentials: JSONObject;
credential_states: CredentialState;
credential_states: CredentialState[];
message: string;
}
......
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