click on button
parent
cdb6d56c57
commit
55d2730a7a
|
@ -3,7 +3,7 @@
|
||||||
<h1>Public IPFS Cacher</h1>
|
<h1>Public IPFS Cacher</h1>
|
||||||
|
|
||||||
<!-- IPFS -->
|
<!-- IPFS -->
|
||||||
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em" (submit)="cacheIPFS()">
|
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em">
|
||||||
|
|
||||||
<!-- Hash -->
|
<!-- Hash -->
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
|
@ -12,12 +12,12 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<!-- Cache -->
|
<!-- Cache -->
|
||||||
<button mat-flat-button color="primary" type="submit">Cache</button>
|
<button mat-flat-button color="primary" type="button" (click)="cacheIPFS()">Cache</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- IPNS -->
|
<!-- IPNS -->
|
||||||
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em" (submit)="cacheIPNS()">
|
<form fxLayout="row" fxLayoutAlign="space-evenly center" fxLayoutGap="1em">
|
||||||
|
|
||||||
<!-- Hash -->
|
<!-- Hash -->
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<!-- Cache -->
|
<!-- Cache -->
|
||||||
<button mat-flat-button color="primary" type="submit">Cache</button>
|
<button mat-flat-button color="primary" type="button" (click)="cacheIPNS()">Cache</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue