remove title form add/edit plot dialog
This commit is contained in:
@@ -14,8 +14,6 @@
|
|||||||
max-height: unset;
|
max-height: unset;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<h1 mat-dialog-title>{{data.title}}</h1>
|
|
||||||
|
|
||||||
<pdb-visualization-page mat-dialog-content #plot [defaultConfig]="data.config" [galleryEnabled]="false"></pdb-visualization-page>
|
<pdb-visualization-page mat-dialog-content #plot [defaultConfig]="data.config" [galleryEnabled]="false"></pdb-visualization-page>
|
||||||
|
|
||||||
<div mat-dialog-actions align="end">
|
<div mat-dialog-actions align="end">
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ export class DashboardComponent implements OnInit {
|
|||||||
|
|
||||||
addPlot() {
|
addPlot() {
|
||||||
this.dialog.open(AddPlotDialogComponent,{
|
this.dialog.open(AddPlotDialogComponent,{
|
||||||
data: {title: "Add Plot"},
|
data: {},
|
||||||
width: 'calc(100% - 1em)',
|
width: 'calc(100% - 1em)',
|
||||||
height: 'calc(100% - 1em)'
|
height: 'calc(100% - 1em)'
|
||||||
}).afterClosed().subscribe((config: PlotConfig | "") => {
|
}).afterClosed().subscribe((config: PlotConfig | "") => {
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ export class PlotWidgetComponent {
|
|||||||
|
|
||||||
edit() {
|
edit() {
|
||||||
this.dialog.open(AddPlotDialogComponent, {
|
this.dialog.open(AddPlotDialogComponent, {
|
||||||
data: {config: this.data.widget.config, title:"Edit Plot"},
|
data: {config: this.data.widget.config},
|
||||||
width: 'calc(100% - 15px)',
|
width: 'calc(100% - 15px)',
|
||||||
height: 'calc(100% - 15px)',
|
height: 'calc(100% - 15px)',
|
||||||
}).afterClosed().subscribe((config?: PlotConfig) => {
|
}).afterClosed().subscribe((config?: PlotConfig) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user