update project type search to scm_type

This commit is contained in:
John Mitchell
2020-04-24 12:25:10 -04:00
parent 6f80e5b67b
commit fd91c8e329
3 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ function ProjectLookup({
}, },
{ {
name: i18n._(t`Type`), name: i18n._(t`Type`),
key: 'type', key: 'scm_type',
options: [ options: [
[``, i18n._(t`Manual`)], [``, i18n._(t`Manual`)],
[`git`, i18n._(t`Git`)], [`git`, i18n._(t`Git`)],

View File

@@ -115,7 +115,7 @@ function ProjectList({ i18n }) {
}, },
{ {
name: i18n._(t`Type`), name: i18n._(t`Type`),
key: 'type', key: 'scm_type',
options: [ options: [
[``, i18n._(t`Manual`)], [``, i18n._(t`Manual`)],
[`git`, i18n._(t`Git`)], [`git`, i18n._(t`Git`)],

View File

@@ -71,8 +71,9 @@ function ProjectsList({ i18n, nodeResource, onUpdateNodeResource }) {
}, },
{ {
name: i18n._(t`Type`), name: i18n._(t`Type`),
key: 'type', key: 'scm_type',
options: [ options: [
[``, i18n._(t`Manual`)],
[`git`, i18n._(t`Git`)], [`git`, i18n._(t`Git`)],
[`hg`, i18n._(t`Mercurial`)], [`hg`, i18n._(t`Mercurial`)],
[`svn`, i18n._(t`Subversion`)], [`svn`, i18n._(t`Subversion`)],