Skip to content

Commit 2b622d9

Browse files
authored
Merge pull request #419 from kinfkong/issue-302
fix issue #302
2 parents 49f514b + b42929b commit 2b622d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/app.component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<i class="material-icons">refresh</i>
1414
</button>
1515

16-
<button mat-icon-button matTooltip="Add New Redis Server" (click)="onAddServer()" onclick="this.blur()" >
16+
<button mat-icon-button matTooltip="Add Redis Connection" (click)="onAddServer()" onclick="this.blur()" >
1717
<i class="material-icons">add_circle</i>
1818
</button>
1919
<button mat-icon-button
@@ -24,7 +24,7 @@
2424
</button>
2525
<button mat-icon-button
2626
(click)="onInformationEvt()" onclick="this.blur()"
27-
matTooltip="Redis API Document"><i class="material-icons">info</i></button>
27+
matTooltip="Help"><i class="material-icons">info</i></button>
2828
<div class="flex1"></div>
2929
<mat-menu #sideMenu="matMenu">
3030
<button [disabled]="!currentInstance" mat-menu-item (click)="onRefresh(true)">Refresh + Expand All Nodes</button>

src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class AppComponent implements OnInit {
9999
*/
100100
onAddServer() {
101101
const ref = this.dialogService.open(AddServerDialogComponent, {
102-
width: '250px',
102+
width: '280px',
103103
data: {name: 'localhost', password: '', ip: 'localhost', port: 6379, db: 0},
104104
});
105105
ref.afterClosed().subscribe(result => {

src/app/components/add-server-dialog/add-server-dialog.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 mat-dialog-title>Add Redis Server</h1>
1+
<h1 mat-dialog-title>Add Redis Connection</h1>
22
<div mat-dialog-content>
33
<mat-form-field>
44
<input matInput placeholder="Name" [(ngModel)]="data.name">

0 commit comments

Comments
 (0)