Posts by Juliano Sirtori • 111 points
6 posts
-
3
votes0
answers817
viewsQ: Variable me returning Undefined which is assigned inside subscribe
In the code below, the variable date is returning me Undefined, now if I put console.log(this.data); inside subscribe returns me with the correct value. import { Component, OnInit } from…
-
1
votes1
answer353
viewsA: Firebaselistobservable transforms into Object Array
I found the problem, the Ng2-Smart-Table module needs the Localdatasource class to power the table, when the data has external sources, such as Firebase, or some other service. Another problem is…
-
2
votes1
answer353
viewsQ: Firebaselistobservable transforms into Object Array
I am using Ng2-Smart-Table, according to the documentation it accepts an array of objects to mount the table: In HTML: <ng2-smart-table [settings]="settings"…
-
5
votes1
answer1398
viewsQ: No-SQL database modeling
I’m developing a system that will use angular for the front-end part and firebase for the database. Firebase uses a No-Sql database and I’m having a hard time understanding how I can model it. For…
-
0
votes1
answer359
viewsA: firebase.auth(). currentUser returns null when reloading the page
Problem Solved... When loaded I lost the authentication, but when I navigated to another route it returned, I don’t know why it happened, but to solve my problem I ended up using localStorange, now…
-
0
votes1
answer359
viewsQ: firebase.auth(). currentUser returns null when reloading the page
I’m developing an application with angular2 + angularfire2 + firebase, I am facing difficulties in implementing authentication, I was able to login and logout, but when the page is reloaded I lose…