Fix broken tests for project list and header

This commit is contained in:
Filipa Lacerda 2018-01-09 11:09:17 +00:00
parent 3ea65baeef
commit 3d528e2334
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@
return !this.isLoading && Object.keys(this.job).length; return !this.isLoading && Object.keys(this.job).length;
}, },
jobStarted() { jobStarted() {
return this.job.started !== undefined; return this.job.started;
}, },
}, },
watch: { watch: {

View file

@ -28,7 +28,7 @@
required: true, required: true,
}, },
avatarUrl: { avatarUrl: {
type: String, type: [String, Object],
required: true, required: true,
validator(value) { validator(value) {
return value === null || typeof value === 'string'; return value === null || typeof value === 'string';