@appscode/design-system 1.0.43-alpha.223 → 1.0.43-alpha.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.0.43-alpha.223",
3
+ "version": "1.0.43-alpha.224",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -193,7 +193,7 @@ function handleTaskLog(log: TaskLog) {
193
193
  idToStepIndex.value[log.id] = latestStepIndex;
194
194
 
195
195
  // update active step index for first task
196
- // and if current active step is in latest step
196
+ // or if current active step is in latest step
197
197
  if (
198
198
  latestStepIndex === 0 ||
199
199
  latestStepIndex === idToStepIndex.value[activeStepId.value] + 1
@@ -233,11 +233,15 @@ async function subscribeToChannel(channelId: string) {
233
233
  }
234
234
  }
235
235
 
236
- watchEffect(() => {
237
- if (natsSubject.value) {
238
- subscribeToChannel(natsSubject.value);
239
- }
240
- });
236
+ watch(
237
+ natsSubject,
238
+ (n) => {
239
+ if (n) {
240
+ subscribeToChannel(n);
241
+ }
242
+ },
243
+ { immediate: true }
244
+ );
241
245
 
242
246
  watch(open, (n) => {
243
247
  if (!n) {