From a33380387645db060ee01ccc0605678e544b5f5e Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 6 Mar 2023 14:43:50 +0100 Subject: [PATCH] Support multiple data blocks in single page #43 --- plugs/directive/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugs/directive/data.ts b/plugs/directive/data.ts index f9fbd12e..bd31987d 100644 --- a/plugs/directive/data.ts +++ b/plugs/directive/data.ts @@ -35,7 +35,7 @@ export async function indexData({ name, tree }: IndexTreeEvent) { continue; } dataObjects.push({ - key: `data:${name}@${i}`, + key: `data:${name}@${t.from! + i}`, value: doc, }); }