Hidden upper part of smart annotation modal [SCI-10589]

This commit is contained in:
Giga Chubinidze 2024-04-11 05:21:48 +04:00
parent 745c52a158
commit c37eea1cdb
2 changed files with 5 additions and 1 deletions

View file

@ -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>

View file

@ -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 %>">