Commit 21c4185e authored by David Hardy's avatar David Hardy

Updated readme to be ready for workshop

parent 0d7b2628
This diff is collapsed.
......@@ -2,7 +2,7 @@ import {Injectable} from '@angular/core';
import {Observable, of} from 'rxjs';
import {map, tap} from 'rxjs/operators';
// import {AngularFireAuth} from '@angular/fire/auth';
import {UserInfo} from 'firebase';
// import {UserInfo} from 'firebase';
providedIn: 'root'
......@@ -22,9 +22,10 @@
<ng-template #deleteAction>
<!--<div (click)="onDelete()"><i class="anticon anticon-delete"></i></div>-->
<div *ngIf="(uid$ | async) === imageData.user" (click)="onDelete()"><i nz-icon nzType="delete" nzTheme="outline"></i>
<!-- FixMe: Step 3.1: Toggle comments of these 2 divs -->
<div (click)="onDelete()"><i class="anticon anticon-delete"></i></div>
<!-- <div *ngIf="(uid$ | async) === imageData.user" (click)="onDelete()"><i nz-icon nzType="delete" nzTheme="outline"></i>-->
<!-- </div>-->
<ng-template #voteDown>
......@@ -16,5 +16,5 @@ = {
exports.firestore = {
imageDeleted: firestoreImageDeletedTrigger,
imageVoteWrite: firestoreImageVoteWriteTrigger
// imageVoteWrite: firestoreImageVoteWriteTrigger // Inspiration for part 3.4
......@@ -5,13 +5,13 @@
"clean:model": "yarn --cwd ./model clean",
"clean:app": "yarn --cwd ./app clean",
"clean:functions": "yarn --ignore-engines --cwd ./functions clean",
"clean": "npm run clean:model && npm run clean:app && npm run clean:functions && rimraf ./node_modules",
"clean": "yarn clean:model && yarn clean:app && rimraf ./node_modules",
"install:model": "yarn --cwd ./model install",
"install:app": "yarn --cwd ./app install",
"install:functions": "yarn --ignore-engines --cwd ./functions install",
"mono:functions": "yarn --ignore-engines --cwd ./functions mono:full",
"mono": "yarn mono:functions",
"postinstall": "yarn install:model && yarn install:app && yarn install:functions && yarn mono",
"postinstall": "yarn install:model && yarn install:app",
"lint:model": "yarn --cwd ./model lint",
"lint:app": "yarn --cwd ./app lint",
"lint:functions": "yarn --ignore-engines --cwd ./functions lint",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment