Refactored Color Livewire components, added CreateColor, EditColor, and ShowColor components. Updated views, navigation, and Tailwind color schemes. Adjusted database migrations for consistency.
This commit is contained in:
@@ -15,17 +15,5 @@ class Color extends Model
|
||||
'hex'
|
||||
];
|
||||
|
||||
// Color has many filaments
|
||||
public function filaments()
|
||||
{
|
||||
return $this->hasMany(Filament::class);
|
||||
}
|
||||
|
||||
// Color has many filament type
|
||||
public function filamentTypes()
|
||||
{
|
||||
return $this->hasMany(FilamentType::class);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user