Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
fix: uninstall routerlink
Browse files Browse the repository at this point in the history
Change-Id: Ibc56394c2b14fb9c9a4bdbc958214c5f1c09127a
  • Loading branch information
myml committed Nov 9, 2018
1 parent 52b2f4d commit 8b32705
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<div class="appItem" *ngFor="let $installedApp of $installedApps">
<ng-container *ngIf="($installedApp.name | appInfo | async) as $app">
<img class="icon" [src]="$app | icon" [routerLink]="['app', $app.name]" />
<img class="icon" [src]="$app | icon" [routerLink]="$app.name" />
<div class="content">
<div class="base">
<span>{{ $app.localInfo.description.name }}</span>
Expand Down
4 changes: 2 additions & 2 deletions src/web/src/app/modules/details/app-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@
<app-donate [appName]="app.name"></app-donate>
<div class="hr"></div>
<br />
<app-app-comment
<dstore-app-comment
[appName]="app.name"
[version]="app.version.remoteVersion || app.version.localVersion"
></app-app-comment>
></dstore-app-comment>
<div class="ad" *ngIf="(adVisible | async)" i18n>CDN supported by UPYUN</div>
</ng-container>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { shareReplay, switchMap, filter, tap } from 'rxjs/operators';
import { SizeHuman } from 'app/dstore/pipes/size-human';

@Component({
selector: 'app-app-comment',
selector: 'dstore-app-comment',
templateUrl: './app-comment.component.html',
styleUrls: ['./app-comment.component.scss'],
animations: [
Expand Down
12 changes: 1 addition & 11 deletions src/web/src/app/modules/details/details.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { DetailsRoutingModule } from './details-routing.module';
import { DstoreModule } from 'app/dstore/dstore.module';
import { ClientModule } from 'app/dstore-client.module/client.module';
import { ShareModule } from 'app/modules/share/share.module';

import { AppDetailComponent } from './app-detail.component';
Expand All @@ -25,14 +23,6 @@ import { PaginatorComponent } from './components/paginator/paginator.component';
AppCommentComponent,
PaginatorComponent,
],
imports: [
CommonModule,
DetailsRoutingModule,
DstoreModule,
ClientModule,
ShareModule,
FormsModule,
ReactiveFormsModule,
],
imports: [CommonModule, DetailsRoutingModule, ShareModule, FormsModule, ReactiveFormsModule],
})
export class DetailsModule {}

0 comments on commit 8b32705

Please sign in to comment.