Fixed spaces in slot fill search returning no results
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
class="flex-grow-0"
|
class="flex-grow-0"
|
||||||
style="flex-basis: 300px;"
|
style="flex-basis: 300px;"
|
||||||
:loading="searchLoading"
|
:loading="searchLoading"
|
||||||
@change="searchValue = searchInput || undefined"
|
@change="searchValue = (searchInput && searchInput.trim()) || undefined"
|
||||||
@click:clear="searchValue = undefined"
|
@click:clear="searchValue = undefined"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
@@ -377,19 +377,6 @@ export default {
|
|||||||
creatureProperty.order = order;
|
creatureProperty.order = order;
|
||||||
insertProperty.call({ creatureProperty, parentRef });
|
insertProperty.call({ creatureProperty, parentRef });
|
||||||
setTimeout(() => $store.dispatch('popDialogStack'), 200);
|
setTimeout(() => $store.dispatch('popDialogStack'), 200);
|
||||||
|
|
||||||
/* Maybe replace the dialog with the edit version?
|
|
||||||
* It's a bit jank, but a common use case
|
|
||||||
$store.commit('replaceDialog', {
|
|
||||||
component: 'creature-property-dialog',
|
|
||||||
//elementId: `?`,
|
|
||||||
data: {
|
|
||||||
_id,
|
|
||||||
startInEditTab: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user