feat(documents) : bouton reload explorateur + liaison d'un fichier du partage SMB à un ticket
This commit is contained in:
@@ -11,12 +11,23 @@
|
||||
</template>
|
||||
</nav>
|
||||
|
||||
<!-- Filtre local -->
|
||||
<div class="mt-4 max-w-sm">
|
||||
<MalioInputText
|
||||
v-model="filter"
|
||||
:placeholder="$t('sharedFiles.filterPlaceholder')"
|
||||
input-class="w-full"
|
||||
<!-- Filtre local + rechargement -->
|
||||
<div class="mt-4 flex items-center gap-2">
|
||||
<div class="max-w-sm flex-1">
|
||||
<MalioInputText
|
||||
v-model="filter"
|
||||
:placeholder="$t('sharedFiles.filterPlaceholder')"
|
||||
input-class="w-full"
|
||||
/>
|
||||
</div>
|
||||
<MalioButtonIcon
|
||||
icon="heroicons:arrow-path"
|
||||
:aria-label="$t('sharedFiles.reload')"
|
||||
variant="ghost"
|
||||
icon-size="20"
|
||||
:disabled="loading"
|
||||
button-class="text-neutral-500 hover:text-primary-500"
|
||||
@click="reload"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -113,6 +124,10 @@ function openPath(path: string) {
|
||||
load(path)
|
||||
}
|
||||
|
||||
function reload() {
|
||||
load(currentPath.value)
|
||||
}
|
||||
|
||||
function onEntryClick(entry: FileEntry) {
|
||||
if (entry.isDir) {
|
||||
openPath(entry.path)
|
||||
|
||||
Reference in New Issue
Block a user