Fix bug where we tried to `add` files that were deleted
We now pass deleted files separately in the git_repo API call
This commit is contained in:
parent
00fc28dab9
commit
8c67f5d4d0
|
@ -29,13 +29,23 @@ export class GitRepoDialogComponent {
|
|||
{
|
||||
key: 'changed',
|
||||
type: 'textarea',
|
||||
defaultValue: this.listify(data.changes),
|
||||
defaultValue: this.listify(data.modified),
|
||||
templateOptions: {
|
||||
label: 'These are the changed files',
|
||||
rows: 4,
|
||||
readonly: true,
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'deleted',
|
||||
type: 'textarea',
|
||||
defaultValue: this.listify(data.deleted),
|
||||
templateOptions: {
|
||||
label: 'These are the deleted files',
|
||||
rows: 4,
|
||||
readonly: true,
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'untracked',
|
||||
type: 'textarea',
|
||||
|
|
Loading…
Reference in New Issue