13 lines
274 B
JavaScript
13 lines
274 B
JavaScript
|
const updateFrequency = {
|
||
|
'6_months': '6 months',
|
||
|
daily: 'Daily',
|
||
|
weekly: 'Weekly',
|
||
|
yearly: 'Yearly',
|
||
|
quarterly: 'Quarterly',
|
||
|
monthly: 'Monthly'
|
||
|
};
|
||
|
|
||
|
export function updateFrequencyName (frequencyId) {
|
||
|
return frequencyId ? updateFrequency[frequencyId] : '-';
|
||
|
}
|