bouton nouveau desactiver quand on est dans la racine des favoris
This commit is contained in:
parent
ed5f2fd648
commit
da20ccfde8
@ -27,7 +27,7 @@
|
|||||||
</NcBreadcrumb>
|
</NcBreadcrumb>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<div class="flex items-center ml-2">
|
<div class="flex items-center ml-2">
|
||||||
<button v-if="!isTransfering" @click="toggleAddFilePopup"
|
<button v-if="!isTransfering" @click="toggleAddFilePopup" :disabled="currentTab === 'favorites' && current_dir === '/'"
|
||||||
class="flex items-center space-x-2 bg-blue-100 text-blue-600 font-medium px-4 py-2 rounded-md hover:bg-blue-200 transition">
|
class="flex items-center space-x-2 bg-blue-100 text-blue-600 font-medium px-4 py-2 rounded-md hover:bg-blue-200 transition">
|
||||||
<Plus :size="20" />
|
<Plus :size="20" />
|
||||||
<span>{{translate('new')}}</span>
|
<span>{{translate('new')}}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user