Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
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
ai-tech
dify
Commits
7c566115
Unverified
Commit
7c566115
authored
Dec 20, 2023
by
crazywoola
Committed by
GitHub
Dec 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: settings/members dropdown ui (#1797)
parent
fb55b3a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.tsx
.../components/header/account-setting/members-page/index.tsx
+1
-1
No files found.
web/app/components/header/account-setting/members-page/index.tsx
View file @
7c566115
...
@@ -104,7 +104,7 @@ const MembersPage = () => {
...
@@ -104,7 +104,7 @@ const MembersPage = () => {
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
'shrink-0 flex items-center w-[104px] py-2 text-[13px] text-gray-700'
>
{
dayjs
(
Number
((
account
.
last_login_at
||
account
.
created_at
))
*
1000
).
locale
(
locale
===
'zh-Hans'
?
'zh-cn'
:
'en'
).
fromNow
()
}
</
div
>
<
div
className=
'shrink-0 flex items-center w-[104px] py-2 text-[13px] text-gray-700'
>
{
dayjs
(
Number
((
account
.
last_login_at
||
account
.
created_at
))
*
1000
).
locale
(
locale
===
'zh-Hans'
?
'zh-cn'
:
'en'
).
fromNow
()
}
</
div
>
<
div
className=
'shrink-0 w-[96px] flex items-center
relative z-10
'
>
<
div
className=
'shrink-0 w-[96px] flex items-center'
>
{
{
(
owner
&&
account
.
role
!==
'owner'
)
(
owner
&&
account
.
role
!==
'owner'
)
?
<
Operation
member=
{
account
}
onOperate=
{
mutate
}
/>
?
<
Operation
member=
{
account
}
onOperate=
{
mutate
}
/>
...
...
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