Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
09dee3bf
Commit
09dee3bf
authored
Nov 20, 2018
by
Lukas Burgey
Browse files
Fix an incorrect type
parent
97cbdfa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/dialogues/credentials/credentials.component.ts
View file @
09dee3bf
...
...
@@ -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
>
;
...
...
src/app/types/types.module.ts
View file @
09dee3bf
...
...
@@ -80,7 +80,7 @@ export interface DeploymentStateItem {
state
:
string
;
questionnaire
:
JSONObject
;
credentials
:
JSONObject
;
credential_states
:
CredentialState
;
credential_states
:
CredentialState
[]
;
message
:
string
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment