redis: support for redis streams

This commit is contained in:
Jan Prochazka
2022-03-27 17:16:17 +02:00
parent 4bd7cd26d0
commit e25657bd43
6 changed files with 56 additions and 6 deletions

View File

@@ -13,8 +13,9 @@
let item = {};
const handleSubmit = async () => {
closeCurrentModal();
onConfirm(item);
if (await onConfirm(item)) {
closeCurrentModal();
}
};
</script>
@@ -24,7 +25,7 @@
<div class="container">
<DbKeyItemDetail
dbKeyFields={keyInfo.keyType.dbKeyFields}
dbKeyFields={keyInfo.keyType.dbKeyFields}
{item}
onChangeItem={value => {
item = value;