Matt Raible 7 vuotta sitten
vanhempi
commit
2f01be4a76
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1
    1
      README.md
  2. 2
    2
      client/src/pages/beer/beer.ts

+ 1
- 1
README.md Näytä tiedosto

@@ -8,4 +8,4 @@ You can read about how this application was created on [the Stormpath blog](http
8 8
 
9 9
 To run the Spring Boot backend, cd into `server` and run `mvn spring-boot:run`.
10 10
 
11
-To run the Ionic frontend, execute `npm install && ionic serve`. The aforementioned blog post shows you how to deploy this app to an emulator/device. 
11
+In another terminal, cd into `client` and `execute `npm install && ionic serve`. The aforementioned blog post shows you how to deploy this app to an emulator/device. 

+ 2
- 2
client/src/pages/beer/beer.ts Näytä tiedosto

@@ -1,5 +1,5 @@
1 1
 import { Component } from '@angular/core';
2
-import { NavController, NavParams, ViewController, ModalController, ToastController } from 'ionic-angular';
2
+import { NavController, NavParams, ModalController, ToastController } from 'ionic-angular';
3 3
 import { BeerService } from '../../providers/beer-service';
4 4
 import { GiphyService } from '../../providers/giphy-service';
5 5
 import { BeerModalPage } from './beer-modal';
@@ -39,7 +39,7 @@ export class BeerPage {
39 39
         if (this.beers[i] === beer) {
40 40
           this.beers.splice(i, 1);
41 41
           let toast = this.toastCtrl.create({
42
-            message: 'Beer "' + beer.name + '" deleted successfully.',
42
+            message: 'Beer "' + beer.name + '" deleted.',
43 43
             duration: 2000,
44 44
             position: 'top'
45 45
           });