Permalink
Browse files

Step 6.3: Clean up App component

  • Loading branch information...
1 parent d198e1b commit ce730c5f15fbb4b208fe98fa53958024dc696fb5 @dotansimha dotansimha committed with DAB0mB Oct 25, 2016
Showing with 1 addition and 15 deletions.
  1. +1 −15 client/imports/app/app.component.ts
@@ -1,23 +1,9 @@
import { Component } from '@angular/core';
-import { Observable } from 'rxjs/Observable';
-
-import { Parties } from '../../../both/collections/parties.collection';
-import { Party } from '../../../both/models/party.model';
import template from './app.component.html';
@Component({
selector: 'app',
template
})
-export class AppComponent {
- parties: Observable<Party[]>;
-
- constructor() {
- this.parties = Parties.find({}).zone();
- }
-
- removeParty(party: Party): void {
- Parties.remove(party._id);
- }
-}
+export class AppComponent {}

0 comments on commit ce730c5

Please sign in to comment.