Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers_angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
dcarfixers_angular
Commits
e8dbdecb
Commit
e8dbdecb
authored
Jan 09, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daily commit
parent
4e8dbccc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
index.component.html
src/app/home/index/index.component.html
+0
-0
index.component.ts
src/app/home/index/index.component.ts
+8
-2
navbar.component.html
src/app/navbar/navbar.component.html
+1
-1
No files found.
src/app/home/index/index.component.html
View file @
e8dbdecb
This diff is collapsed.
Click to expand it.
src/app/home/index/index.component.ts
View file @
e8dbdecb
...
...
@@ -5,6 +5,9 @@ import { NgxCarousel } from 'ngx-carousel';
import
{
MapsAPILoader
}
from
'@agm/core'
;
import
{
SubjectService
}
from
'../../provider/subject.service'
;
import
{
FormGroup
,
FormControl
,
Validators
,
ValidationErrors
}
from
'@angular/forms'
;
import
{
google
}
from
'@google/maps'
;
import
{
ImageStorage
}
from
'../../../environments/server.config'
;
declare
var
$
;
declare
const
google
:
any
;
...
...
@@ -46,7 +49,8 @@ export class IndexComponent implements OnInit {
selectedIssues
:
any
[]
=
new
Array
();
//Quote Page
imageServer
:
string
;
mechanicData
:
any
;
carModel
:
any
;
carSearchJsonData
:
any
;
...
...
@@ -58,6 +62,7 @@ export class IndexComponent implements OnInit {
public
webService
:
WebService
,
public
mapsAPILoader
:
MapsAPILoader
,
public
subjectService
:
SubjectService
)
{
this
.
imageServer
=
ImageStorage
;
this
.
loginDetails
=
false
;
this
.
searchLocError
=
false
;
this
.
vehicleDataFormSubmit
=
false
;
...
...
@@ -212,7 +217,8 @@ export class IndexComponent implements OnInit {
this
.
webService
.
post_data
(
'getNearByMechanics'
,
this
.
wizardData
.
pickup_data
).
subscribe
(
response
=>
{
this
.
loader
=
false
;
if
(
response
.
status
==
'1'
){
this
.
issuesData
=
response
.
issue_data
;
this
.
mechanicData
=
response
.
mechanic_data
;
console
.
log
(
this
.
mechanicData
);
}
else
{
this
.
router
.
navigate
([
"index"
]);
}
...
...
src/app/navbar/navbar.component.html
View file @
e8dbdecb
...
...
@@ -43,7 +43,7 @@
Welcome back,
{{ loginDetails.first_name | titlecase }}
</div>
<div
class=
"account_pic"
>
<img
src=
"{{imageServer + loginDetails.profile_image}}"
onerror=
"this.src='
./../assets/images/user_avatar.jpg';
"
>
<img
src=
"{{imageServer + loginDetails.profile_image}}"
onerror=
"this.src='
assets/images/user_avatar.jpg'
"
>
</div>
<div
class=
"clear"
></div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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