Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
selectedResults.component.ts | ||
---|---|---|
27 | 27 |
|
28 | 28 |
} |
29 | 29 |
|
30 |
sliceString(mystr, size: number): string { |
|
31 |
const sliced = String(mystr).substr(0, size); |
|
32 |
return sliced + (String(mystr).length > size ? '...' : ''); |
|
33 |
} |
|
34 |
|
|
35 |
|
|
36 | 30 |
} |
Also available in: Unified diff
[Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())