track > variation : add bg color
This commit is contained in:
parent
099479dc45
commit
760e17287e
5 changed files with 15 additions and 4 deletions
|
|
@ -4,6 +4,11 @@ tabs:
|
|||
contentTab:
|
||||
label: Contenu
|
||||
fields:
|
||||
backgroundColor:
|
||||
label: Couleur de fond
|
||||
type: color
|
||||
default: "#E6E6E6"
|
||||
placeholder: "#E6E6E6"
|
||||
views:
|
||||
label: Rendu
|
||||
type: files
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ class ProjectPage extends NotificationsPage {
|
|||
$trackData = [
|
||||
'title' => (string) $track->title(),
|
||||
'slug' => (string) $track->slug(),
|
||||
'backgroundColor' => (string) $track->backgroundColor(),
|
||||
'files' => [],
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue