mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 20:56:42 +08:00
Hidden upper part of smart annotation modal [SCI-10589]
This commit is contained in:
parent
745c52a158
commit
c37eea1cdb
2 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,7 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
SmartAnnotation.init($(this.$refs.description), false);
|
||||
$(this.$refs.modal).on('hidden.bs.modal', this.handleAtWhoModalClose);
|
||||
},
|
||||
mixins: [modalMixin],
|
||||
methods: {
|
||||
|
@ -80,6 +81,9 @@ export default {
|
|||
HelperModule.flashAlertMsg(error.response.data.message, 'danger');
|
||||
});
|
||||
},
|
||||
handleAtWhoModalClose() {
|
||||
$('.atwho-view.old').css('display', 'none');
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div class="tab-pane" role="tabpanel" id="prj-tab-<%= at_who_key %>" data-object-type="PROJECT"></div>
|
||||
<div class="tab-pane" role="tabpanel" id="exp-tab-<%= at_who_key %>" data-object-type="EXPERIMENT"></div>
|
||||
<div class="tab-pane" role="tabpanel" id="tsk-tab-<%= at_who_key %>" data-object-type="TASK"></div>
|
||||
<div class="tab-pane rep-tab" role="tabpanel" id="rep-tab-<%= at_who_key %>" data-object-type="REPOSITORY"><% if repositories.length > 1 %>
|
||||
<div class="tab-pane rep-tab overflow-y-auto max-h-[100px]" role="tabpanel" id="rep-tab-<%= at_who_key %>" data-object-type="REPOSITORY"><% if repositories.length > 1 %>
|
||||
<div class="sci-btn-group flex-wrap">
|
||||
<% repositories.each do |repository| %>
|
||||
<button class="btn btn-light repository-object" data-object-id="<%= repository.id %>">
|
||||
|
|
Loading…
Reference in a new issue