Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
marketplaces
gannonce-ui
Commits
f6fe2447
Commit
f6fe2447
authored
May 12, 2017
by
Cédric Moreau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[enh] Chargement plus rapide de la page principale
parent
b51ca2ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/pages/home/home.ts
src/pages/home/home.ts
+0
-1
No files found.
src/pages/home/home.ts
View file @
f6fe2447
...
...
@@ -14,7 +14,6 @@ export class HomePage {
constructor
(
private
announceService
:
AnnounceService
,
private
crowdfundingService
:
CrowdfundingService
)
{
this
.
announces
=
[]
this
.
announceService
.
listAllAnnounces
().
then
(
announces
=>
this
.
announces
=
announces
.
map
(
a
=>
{
a
.
thumbnail
=
a
.
images
[
0
]
a
.
descLigne
=
a
.
desc
.
replace
(
/
\\
n/g
,
'
'
)
a
.
pctFunded
=
this
.
crowdfundingService
.
getFundingAmount
(
a
)
return
a
...
...
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