Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
akurilov committed Dec 3, 2023
1 parent 91dc339 commit b10d5db
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/sub-details.html
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@
</head>
<body onload="loadSubscription()">

<div id="sub_new" class="flex-1 flex flex-col mx-auto" style="display: flex">
<p class="py-2 text-md">View or edit the subscription's matching condition:</p>
<div id="sub_new" class="m-2 flex-1 flex flex-col mx-auto" style="display: flex">
<span class="py-2 text-xs">Id: <pre id="subId"></pre></span>
<form class="space-y-2">
<div class="container">
<div class="row">
@@ -29,7 +29,6 @@
</div>
<script src="sub-details.js"></script>
</form>
<p class="py-2 text-xs">Id: <pre id="subId"></pre></p>
</div>

</body>
1 change: 1 addition & 0 deletions web/sub-details.js
Original file line number Diff line number Diff line change
@@ -40,6 +40,7 @@ function loadSubscription() {
})
.then(data => {
if (data != null) {
console.log(JSON.stringify(data));
editor.setValue(data.cond);
}
})

0 comments on commit b10d5db

Please sign in to comment.