Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
eResearch
sails-hook-redbox-labarchives
Commits
e8e72577
Commit
e8e72577
authored
Jan 13, 2020
by
Moises Sacal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added event to re list notebooks if they have succesfully linked
parent
7f5d7026
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
angular/labarchives/dist/main.bundle.js
angular/labarchives/dist/main.bundle.js
+1
-1
angular/labarchives/src/app/components/labarchives-link.component.ts
...archives/src/app/components/labarchives-link.component.ts
+2
-0
angular/labarchives/src/app/components/labarchives-list.component.ts
...archives/src/app/components/labarchives-list.component.ts
+1
-0
No files found.
angular/labarchives/dist/main.bundle.js
View file @
e8e72577
This diff is collapsed.
Click to expand it.
angular/labarchives/src/app/components/labarchives-link.component.ts
View file @
e8e72577
...
...
@@ -34,6 +34,7 @@ export class LabarchivesLinkField extends FieldBase<any> {
rdmp
:
string
;
@
Input
()
LinkItem
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
@
Output
()
list
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
labarchivesService
:
LabarchivesService
;
...
...
@@ -100,6 +101,7 @@ export class LabarchivesLinkField extends FieldBase<any> {
this
.
checks
.
linkCreated
=
true
;
this
.
checks
.
master
=
true
;
this
.
processingFail
=
undefined
;
this
.
list
.
emit
();
}
else
if
(
link
.
message
===
'
cannot insert node
'
){
this
.
processingFail
=
this
.
processingNoPermission
;
this
.
checks
.
linkWithOther
=
true
...
...
angular/labarchives/src/app/components/labarchives-list.component.ts
View file @
e8e72577
...
...
@@ -51,6 +51,7 @@ export class LabarchivesListField extends FieldBase<any> {
registerEvents
()
{
this
.
fieldMap
[
'
Login
'
].
field
[
'
userLogin
'
].
subscribe
(
this
.
listWorkspaces
.
bind
(
this
));
this
.
fieldMap
[
'
Link
'
].
field
[
'
list
'
].
subscribe
(
this
.
listWorkspaces
.
bind
(
this
));
}
init
()
{
...
...
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