Skip to content

Commit

Permalink
⚰️ front: removing some unused code (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlinagora committed May 13, 2024
1 parent 12a51d7 commit 3e2adf9
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion tdrive/frontend/public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@
"components.public-link-security_expiration_removal_but_password": "Warning: about to remove the expiry on the public link making available to anyone with the password",
"components.public-link-security_expiration_removal_confirm": "Remove expiration",
"components.internal-access_manage_title":"Manage access to",
"components.internal-access_manage_subtitle":"Grant access",
"components.internal-access_inherit_parent":"Inherit parent folder",
"components.internal-access_inherit_parent_perm":"Choose to inherit or not the parent folder permissions.",
"components.internal-access_company_member":"Every member from the company",
Expand Down
1 change: 0 additions & 1 deletion tdrive/frontend/public/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@
"components.public-link-security-change-subtitle": "Définir le mot de passe, la date d'expiration, etc.",
"components.public-link-security-title": "Partager avec un lien",
"components.internal-access_manage_title":"Gérer l'accès à",
"components.internal-access_manage_subtitle":"Accorder l'accès",
"components.internal-access_inherit_parent": "Hériter du dossier parent",
"components.internal-access_inherit_parent_perm": "Hériter des permissions du dossier parent",
"components.internal-access_company_member": "Toutes les personnes de l'entreprise",
Expand Down
1 change: 0 additions & 1 deletion tdrive/frontend/public/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@
"components.public-link-security-change-subtitle": "Установить пароль, срок действия и т.д.",
"components.public-link-security-title": "Поделиться ссылкой",
"components.internal-access_manage_title":"Настройки доступа к",
"components.internal-access_manage_subtitle":"Настройки доступа",
"components.internal-access_inherit_parent":"Inherit parent folder",
"components.internal-access_inherit_parent_perm":"Choose to inherit or not the parent folder permissions.",
"components.internal-access_company_member":"Every member from the company",
Expand Down
1 change: 0 additions & 1 deletion tdrive/frontend/public/locales/vn.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"components.public-link-security-change-subtitle": "Thiết lập mật khẩu, ngày hết hạn, vv.",
"components.public-link-security-title": "Chia sẻ với liên kết",
"components.internal-access_manage_title":"Quản lý quyền truy cập vào",
"components.internal-access_manage_subtitle":"Cấp phép truy cập",
"components.internal-access_inherit_parent": "Thừa hưởng từ thư mục cha",
"components.internal-access_inherit_parent_perm": "Chọn có thừa hưởng quyền của thư mục cha hay không.",
"components.internal-access_company_member": "Mọi thành viên của công ty",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Base, Info } from '@atoms/text';
import { Input } from 'app/atoms/input/input-text';
import { CheckboxSlider } from 'app/atoms/input/input-checkbox-slider';
import { Button } from 'app/atoms/button/button';
import { ShieldExclamationIcon, CalendarIcon, PencilAltIcon } from '@heroicons/react/outline';
import { CalendarIcon, PencilAltIcon } from '@heroicons/react/outline';
import { ConfirmModal } from 'app/atoms/modal/confirm';

import Styles from './styles';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Base } from '@atoms/text';
import { Input } from 'app/atoms/input/input-text';
import { CheckboxSlider } from 'app/atoms/input/input-checkbox-slider';
import { Button } from 'app/atoms/button/button';
import { ShieldCheckIcon, PencilAltIcon, ShieldExclamationIcon } from '@heroicons/react/outline';
import { ShieldCheckIcon, PencilAltIcon } from '@heroicons/react/outline';
import { ConfirmModal } from 'app/atoms/modal/confirm';

import Styles from './styles';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { useUser } from '@features/users/hooks/use-user';
import { useSearchUsers } from '@features/users/hooks/use-search-user-list';
import { changeUserAccess, getUserAccessLevel, getAllUserAccesses } from '@features/files/utils/access-info-helpers';

import { Subtitle } from '@atoms/text';
import { Input } from '@atoms/input/input-text';
import { Button } from '@atoms/button/button';
import { SearchIcon } from '@heroicons/react/solid';
Expand Down Expand Up @@ -128,7 +127,6 @@ export const InternalUsersAccessManager = ({
</div>
{showResults &&
<>
{/*<div className="flex flex-row border-t !border-x-0 dark:border-zinc-700" />*/}
<div className="relative w-full h-0"> {/* Necessary so the relative results don't take height */}
<div className={"rounded-md absolute z-10 w-full shadow-md border bg-white dark:bg-zinc-900 mt-1 dark:border-zinc-700"}>
{ shownResults && shownResults.map((user, index) =>
Expand Down

0 comments on commit 3e2adf9

Please sign in to comment.