fix: public var in component
This commit is contained in:
@@ -7,21 +7,22 @@ service cloud.firestore {
|
||||
}
|
||||
|
||||
match /songs/{song} {
|
||||
allow read: if true;
|
||||
allow write: if true;
|
||||
allow read: if request.auth.uid != null;
|
||||
allow write: if request.auth.uid != null;
|
||||
}
|
||||
match /songs/{song}/files/{file} {
|
||||
allow read: if true;
|
||||
allow write: if true;
|
||||
allow read: if request.auth.uid != null;
|
||||
allow write: if request.auth.uid != null;
|
||||
}
|
||||
match /shows/{show} {
|
||||
allow read: if true;
|
||||
allow write: if true;
|
||||
allow read: if request.auth.uid != null;
|
||||
allow write: if request.auth.uid != null;
|
||||
}
|
||||
match /shows/{show}/songs/{song} {
|
||||
allow read: if true;
|
||||
allow write: if true;
|
||||
allow read: if request.auth.uid != null;
|
||||
allow write: if request.auth.uid != null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import {User} from '../../../services/user';
|
||||
export class SongComponent implements OnInit {
|
||||
public song$: Observable<Song>;
|
||||
public files$: Observable<File[]>;
|
||||
private user$: Observable<User>;
|
||||
public user$: Observable<User>;
|
||||
|
||||
constructor(
|
||||
private activatedRoute: ActivatedRoute,
|
||||
|
||||
Reference in New Issue
Block a user