Matt Raible преди 7 години
родител
ревизия
2f01be4a76
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1
    1
      README.md
  2. 2
    2
      client/src/pages/beer/beer.ts

+ 1
- 1
README.md Целия файл

@@ -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 Целия файл

@@ -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
           });