Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
thecybernanny-webapp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asranov0003
thecybernanny-webapp
Commits
b5b97bf4
Commit
b5b97bf4
authored
Jul 29, 2025
by
asranov0003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: render no data when permissions empty
parent
dd9e24fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
en.json
src/locales/en/en.json
+2
-1
ru.json
src/locales/ru/ru.json
+2
-1
Permissions.tsx
src/pages/Permissions/Permissions.tsx
+2
-0
No files found.
src/locales/en/en.json
View file @
b5b97bf4
...
...
@@ -13,7 +13,8 @@
"confirm"
:
"Confirm"
,
"password"
:
"Password"
,
"passwordPlaceholder"
:
"Enter your password"
,
"selectDevice"
:
"Select Device"
"selectDevice"
:
"Select Device"
,
"noData"
:
"No data found"
},
"auth"
:
{
"entrance"
:
"Sign In"
,
...
...
src/locales/ru/ru.json
View file @
b5b97bf4
...
...
@@ -13,7 +13,8 @@
"confirm"
:
"Подтвердить"
,
"password"
:
"Пароль"
,
"passwordPlaceholder"
:
"Введите ваш пароль"
,
"selectDevice"
:
"Выбрать устройство"
"selectDevice"
:
"Выбрать устройство"
,
"noData"
:
"Данные не найдены"
},
"auth"
:
{
"entrance"
:
"Вход"
,
...
...
src/pages/Permissions/Permissions.tsx
View file @
b5b97bf4
...
...
@@ -119,6 +119,8 @@ const Permissions: React.FC = () => {
</
h3
>
<
div
className=
"permissions__content__items"
>
{
permissions
.
length
===
0
&&
<
p
>
{
t
(
"common.noData"
)
}
</
p
>
}
{
permissions
.
map
((
permission
)
=>
{
return
(
<
div
key=
{
permission
.
id
}
className=
"permissions__content__item"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment