mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
Merge pull request #13098 from ak-piracha/feature/snipe-13049-status-label-chart-color
Fixed #13098: Status Label Chart Color, resets to default when editing a Status Label
This commit is contained in:
commit
004992086e
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$('.color').colorpicker({
|
$('.color').colorpicker({
|
||||||
color: '#AA3399',
|
color: `{{ old('color', $item->color) ?: '#AA3399' }}`,
|
||||||
format: 'hex'
|
format: 'hex'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue