mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Template miserably failing when active_at is unknown because it wants a date of timestamp
This commit is contained in:
parent
0f663f5a0a
commit
7322454a8f
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@
|
||||||
{
|
{
|
||||||
data2.service.active_at = data.active_at;
|
data2.service.active_at = data.active_at;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
data2.service.active_at = 0;
|
||||||
|
}
|
||||||
store.clear('slide');
|
store.clear('slide');
|
||||||
c.view('service/service_info', data2);
|
c.view('service/service_info', data2);
|
||||||
}, 'GET');
|
}, 'GET');
|
||||||
|
|
Loading…
Add table
Reference in a new issue