Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
eResearch
sails-hook-redbox-labarchives
Commits
e8e72577
Commit
e8e72577
authored
Jan 13, 2020
by
Moises Sacal
Browse files
added event to re list notebooks if they have succesfully linked
parent
7f5d7026
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
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