Revert "display inline title always"

This reverts commit 9ea30dcab6.
This commit is contained in:
Simon L 2023-11-07 12:07:16 +01:00
parent 9ea30dcab6
commit 402ef78df7

View file

@ -191,7 +191,7 @@ export default Vue.extend({
methods: {
actionDisplayName(action: FileAction) {
if ((this.gridMode || (this.filesListWidth < 768 && action.inline)) && typeof action.title === 'function') {
if (this.filesListWidth < 768 && action.inline && typeof action.title === 'function') {
// if an inline action is rendered in the menu for
// lack of space we use the title first if defined
const title = action.title([this.source], this.currentView)