dead-brownD
Refine16mo ago
8 replies
dead-brown

How do Sidebar items by capital chars? I need to have ABC Ratings =>Small Yellow Item

but now I have Abc ratings = >Small Yellow Item

function urls(name: string, parent?: string, label?: string) {
return {
name: name,
list: /${name},
show: /${name}/show/:id,
create: /${name}/create,
edit: /${name}/edit/:id,
parentName: parent,
meta: {
label: label ?? name,
},
};
}

enum Group {
ABC_RATINGS = ABC Ratings',
}

const resources = [
urls('abc-test, Group.ABC_RATINGS, 'Small Yellow '),
];

const App: React.FC = () => {
return (
<.......>
<Refine
resources={resources}
Was this page helpful?