amelioration du style de la partie user
This commit is contained in:
parent
3dce1f6865
commit
7c24996e73
18 changed files with 137 additions and 148 deletions
|
|
@ -4,7 +4,7 @@ import {PlaylistDB} from "../../../utils/interfaces/playlist";
|
|||
import {MessageService} from "../../../utils/services/message/message.service";
|
||||
import {MatDialog} from "@angular/material/dialog";
|
||||
import {MatSnackBar} from "@angular/material/snack-bar";
|
||||
import {PopupCreatePlaylistComponent} from "../../utils/components/popup-create-playlist/popup-create-playlist.component";
|
||||
import {PopupCreatePlaylistComponent} from "../popup-create-playlist/popup-create-playlist.component";
|
||||
import {FictitiousVideosService} from "../../../utils/services/fictitiousDatas/fictitiousVideos/fictitious-videos.service";
|
||||
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ export class PlaylistListComponent implements OnInit
|
|||
|
||||
onCreatePlaylist(): void
|
||||
{
|
||||
const config = { width: '30%', data: this.tabPlaylist };
|
||||
const config = { data: this.tabPlaylist };
|
||||
this.dialog
|
||||
.open(PopupCreatePlaylistComponent, config )
|
||||
.afterClosed()
|
||||
|
|
@ -57,7 +57,7 @@ export class PlaylistListComponent implements OnInit
|
|||
|
||||
const config = { duration: 1000, panelClass: "custom-class" };
|
||||
if((playlist === null) || (playlist === undefined)) {
|
||||
this.snackBar.open("Opération annulée ❌", "", config);
|
||||
this.snackBar.open("Opération annulée", "", config);
|
||||
}
|
||||
else {
|
||||
this.allPlaylists.push(playlist);
|
||||
|
|
|
|||
Reference in a new issue