fix carousel list

This commit is contained in:
Ruben Fiszel
2023-09-14 15:54:35 +02:00
parent bb993336ce
commit 73cfa92fa2
4 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -37,9 +37,10 @@ RUN apt-get update \
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev \
libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev=3.6.* libnl-route-3-dev=3.4.* \
libv8-dev tesseract-ocr nodejs npm\
libv8-dev tesseract-ocr nodejs npm clang libclang-dev\
&& rm -rf /var/lib/apt/lists/*
RUN wget https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
+1 -1
View File
@@ -42,4 +42,4 @@ jobs:
mkdir frontend/build && cd backend && touch
windmill-api/openapi-deref.yaml &&
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill cargo
test --all --features enterprise -- --nocapture
--features enterprise test --all -- --nocapture
+1
View File
@@ -2602,6 +2602,7 @@ async fn test_rust_client(db: Pool<Postgres>) {
.unwrap();
}
#[sqlx::test(fixtures("base"))]
async fn test_script_schedule_handlers(db: Pool<Postgres>) {
initialize_tracing().await;
@@ -55,6 +55,7 @@
parentComponentId: id,
subGridIndex: 0
})
let currentPageIndex = 0
</script>
{#each Object.keys(components['carousellistcomponent'].initialData.configuration) as key (key)}
@@ -91,8 +92,8 @@
arrows={true}
swiping={false}
bind:this={carousel}
let:currentPageIndex
on:pageChange={(event) => {
currentPageIndex = event.detail
$focusedGrid = {
parentComponentId: id,
subGridIndex: event.detail