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:
mike cullerton 2022-03-30 12:51:28 -04:00
parent 00fc28dab9
commit 8c67f5d4d0
1 changed files with 11 additions and 1 deletions

View File

@ -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',