Fixed spaces in slot fill search returning no results

This commit is contained in:
ThaumRystra
2024-11-09 14:20:42 +02:00
parent 43958a90bd
commit 40025dc7d3

View File

@@ -17,7 +17,7 @@
class="flex-grow-0"
style="flex-basis: 300px;"
:loading="searchLoading"
@change="searchValue = searchInput || undefined"
@change="searchValue = (searchInput && searchInput.trim()) || undefined"
@click:clear="searchValue = undefined"
/>
</template>
@@ -377,19 +377,6 @@ export default {
creatureProperty.order = order;
insertProperty.call({ creatureProperty, parentRef });
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,
},
});
*/
}
}
});