This repository was archived by the owner on Dec 1, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ <h4>Proposito del sitio</h4>
2424 o en mis redes sociales:
2525 < ul class ="collection ">
2626 < li class ="collection-item ">
27- < a href ="" target ="_blank "> Github</ a >
27+ < a href ="https://github.com/AngelMunoz " target ="_blank "> Github</ a >
2828 </ li >
2929 < li class ="collection-item ">
30- < a href ="" target ="_blank "> Twitter</ a >
30+ < a href ="https://twitter.com/daniel_tuna " target ="_blank "> Twitter</ a >
3131 </ li >
3232 </ ul >
3333 </ blockquote >
@@ -58,10 +58,10 @@ <h4>Site's Purpose</h4>
5858 < a href ="mailto:scythes.lol@gmail.com " target ="_blank "> scythes.lol@gmail.com</ a >
5959 < ul class ="collection ">
6060 < li class ="collection-item ">
61- < a href ="" target ="_blank "> Github</ a >
61+ < a href ="https://github.com/AngelMunoz " target ="_blank "> Github</ a >
6262 </ li >
6363 < li class ="collection-item ">
64- < a href ="" target ="_blank "> Twitter</ a >
64+ < a href ="https://twitter.com/daniel_tuna " target ="_blank "> Twitter</ a >
6565 </ li >
6666 </ ul >
6767 </ blockquote >
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ export class ListDetail {
1313 const item = await this . list . get ( detail . _id ) ;
1414 const $index = this . items . findIndex ( i => i . _id === detail . _id ) ;
1515 this . items . splice ( $index , 1 , item ) ;
16+ if ( detail . done ) {
17+ await this . saveHidePrefs ( this . hideDone ) ;
18+ }
1619 } catch ( error ) {
1720 console . warn ( JSON . stringify ( error ) ) ;
1821 return M . toast ( {
@@ -28,6 +31,9 @@ export class ListDetail {
2831 await this . list . put ( detail ) ;
2932 const item = await this . list . get ( detail . name ) ;
3033 this . items . push ( item ) ;
34+ if ( detail . done ) {
35+ await this . saveHidePrefs ( this . hideDone ) ;
36+ }
3137 } catch ( error ) {
3238 console . warn ( JSON . stringify ( error ) ) ;
3339 return M . toast ( {
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ import { PLATFORM } from "aurelia-framework";
22import { RouteConfig } from "aurelia-router" ;
33
44export const ROUTES : RouteConfig [ ] = [
5+ {
6+ route : "my-lists" ,
7+ title : "Mis Listas" ,
8+ name : "lists" ,
9+ nav : true ,
10+ moduleId : PLATFORM . moduleName ( "./pages/my-lists" ) ,
11+ } ,
512 {
613 route : [ "" , "home" ] ,
714 title : "Inicio" ,
@@ -16,13 +23,6 @@ export const ROUTES: RouteConfig[] = [
1623 nav : true ,
1724 moduleId : PLATFORM . moduleName ( "./pages/about" ) ,
1825 } ,
19- {
20- route : "my-lists" ,
21- title : "Mis Listas" ,
22- name : "lists" ,
23- nav : true ,
24- moduleId : PLATFORM . moduleName ( "./pages/my-lists" ) ,
25- } ,
2626 {
2727 route : "my-lists/:id" ,
2828 title : "Mi Lista Detallada" ,
You can’t perform that action at this time.
0 commit comments