⚰️ front: removing some unused code (#50)
This commit is contained in:
committed by
ericlinagora
parent
12a51d761c
commit
3e2adf9c1c
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
+1
-1
@@ -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';
|
||||
|
||||
+1
-1
@@ -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';
|
||||
|
||||
-2
@@ -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';
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user