Use sentence case whenever possible

This commit is contained in:
Girish Ramakrishnan
2025-11-12 18:42:24 +01:00
parent ce15958a9a
commit 39c68075fb
15 changed files with 306 additions and 291 deletions

View File

@@ -32,17 +32,17 @@ const viewType = ref((localStorage.appsView && (localStorage.appsView === VIEW_T
const tagFilter = ref('');
const tagFilterOptions = ref([{
id: '',
name: 'All Tags',
name: 'All tags',
}]);
const domainFilter = ref('');
const domainFilterOptions = ref([]);
const stateFilter = ref('');
const stateFilterOptions = [
{ id: '', label: 'All States' },
{ id: '', label: 'All states' },
{ id: 'running', label: 'Running' },
{ id: 'stopped', label: 'Stopped' },
{ id: 'update_available', label: 'Update Available' },
{ id: 'not_responding', label: 'Not Responding' },
{ id: 'update_available', label: 'Update available' },
{ id: 'not_responding', label: 'Not responding' },
];
const listColumns = {
icon: {
@@ -239,7 +239,7 @@ async function refreshApps() {
// gets all tags used by all apps, flattens the arrays and new Set() will dedupe
const tags = [...new Set(apps.value.map(a => a.tags).flat())].map(t => { return { id: t, name: t }; });
tagFilterOptions.value = [{ id: '', name: 'All Tags', }].concat(tags);
tagFilterOptions.value = [{ id: '', name: 'All tags', }].concat(tags);
}
function toggleView() {
@@ -270,7 +270,7 @@ onActivated(async () => {
const [error, result] = await domainsModel.list();
if (error) return console.error(error);
domainFilterOptions.value = [{ id: '', domain: 'All Domains', }].concat(result.map(d => { d.id = d.domain; return d; }));
domainFilterOptions.value = [{ id: '', domain: 'All domains', }].concat(result.map(d => { d.id = d.domain; return d; }));
domainFilter.value = domainFilterOptions.value[0].id;
stateFilter.value = stateFilterOptions[0].id;