1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #~: Add better description when no user's labels (#2193)

This commit is contained in:
Sergio Betanzos 2022-06-28 17:13:07 +02:00 committed by GitHub
parent d959e813ae
commit 72a5e6d3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -305,6 +305,7 @@ module.exports = {
LabelAlreadyExists: 'Label already exists',
PressToCreateLabel: 'Press enter to create a new label',
SavesInTheUserTemplate: "Saved in the User's template",
NoLabelsOnList: 'You have not defined any labels, list is empty',
/* sections - system */
User: 'User',

View File

@ -123,7 +123,7 @@ const Settings = () => {
<Stack height={1} gap="0.5rem" p="0.5rem" overflow="auto">
{labels.length === 0 && (
<Typography variant="subtitle2">
<Translate word={T.NoLabels} />
<Translate word={T.NoLabelsOnList} />
</Typography>
)}
{result?.map((label) => (