File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -545,24 +545,14 @@ export class LunarPhaseCard extends LitElement {
545545 ${ choose (
546546 graphType ,
547547 [
548- [ 'dynamic' , ( ) => dynamicGraph ] ,
549548 [ 'default' , ( ) => defaultGraph ] ,
549+ [ 'dynamic' , ( ) => dynamicGraph ] ,
550550 ] ,
551551 ( ) => defaultGraph
552552 ) }
553553 ` ;
554554 }
555555
556- private updateDate ( action ?: 'next' | 'prev' ) {
557- const date = new Date ( this . _date ) ;
558- date . setHours ( 0 , 0 , 0 , 0 ) ;
559- if ( action === 'next' ) {
560- date . setDate ( date . getDate ( ) + 1 ) ;
561- } else if ( action === 'prev' ) {
562- date . setDate ( date . getDate ( ) - 1 ) ;
563- }
564- this . selectedDate = date ;
565- }
566556
567557 private togglePage = ( page : PageType ) => {
568558 this . _activeCard = this . _activeCard === page ? this . _defaultCard : page ;
You can’t perform that action at this time.
0 commit comments