mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 08:21:37 +08:00
Small fixes [SCI-10381][SCI-10665][SCI-10666]
This commit is contained in:
parent
e3fbd945f8
commit
091c0612e3
3 changed files with 52 additions and 44 deletions
|
|
@ -155,6 +155,7 @@ let inlineEditing = (function() {
|
|||
if (inputField(container).attr('disabled')) {
|
||||
saveAllEditFields();
|
||||
let input = inputField(container);
|
||||
input.val(container.attr('data-original-name'));
|
||||
input.attr('disabled', false)
|
||||
.removeClass('hidden')
|
||||
.focus();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<perfect-scrollbar class="h-[50vh] relative">
|
||||
<div v-if="roles.length > 0 && visible && default_role" class="p-2 flex items-center gap-2 border-solid border-0 border-b border-b-sn-sleepy-grey">
|
||||
<div>
|
||||
<img src="/images/icon/team.png" class="rounded-full w-8 h-8">
|
||||
|
|
@ -38,7 +39,6 @@
|
|||
<div class="h-6 w-6"></div>
|
||||
</div>
|
||||
</div>
|
||||
<perfect-scrollbar class="h-[50vh] relative">
|
||||
<div v-for="userAssignment in manuallyAssignedUsers"
|
||||
:key="userAssignment.id"
|
||||
class="p-2 flex items-center gap-2">
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
<template>
|
||||
<div :title="text" class="flex items-center">
|
||||
<template v-if="text.length <= endCharacters">
|
||||
<div class="shrink-0">
|
||||
{{ text }}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="truncate">
|
||||
{{ text.slice(0, endCharacters * -1) }}
|
||||
</div>
|
||||
<div class="shrink-0">
|
||||
{{ text.slice(text.length - endCharacters) }}
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue