Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user sharing extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
EOSC Notebooks
user sharing extension
Commits
78912e69
Verified
Commit
78912e69
authored
1 month ago
by
Jaromír Hradil
Browse files
Options
Downloads
Patches
Plain Diff
Fixing onClick update condition
parent
09b458f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/SharingMenu.tsx
+21
-23
21 additions, 23 deletions
src/SharingMenu.tsx
with
21 additions
and
23 deletions
src/SharingMenu.tsx
+
21
−
23
View file @
78912e69
...
...
@@ -59,8 +59,7 @@ function UserSharingMenuBody(): React.JSX.Element {
//Callback function connected to several
//onClick interactions
function
onClickCallback
(
callbackData
?:
CallbackDataType
)
{
if
(
callbackData
)
{
if
(
callbackData
.
dataUpdateCallback
)
{
if
(
callbackData
&&
callbackData
.
dataUpdateCallback
)
{
callbackData
.
dataUpdateCallback
()
.
then
(
_
=>
{
...
...
@@ -85,7 +84,6 @@ function UserSharingMenuBody(): React.JSX.Element {
updateListEntries
();
}
}
}
function
fetchNewShareLink
()
{
handlers
.
getShareCode
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment