Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix env err in all solutions #1715

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions packages/playground/src/weblets/tf_deployment_list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
tooltip="Admin Panel"
color="anchor"
icon="mdi-view-dashboard"
:href="'http://captain.' + item.value[0].env.CAPROVER_ROOT_DOMAIN"
:href="'http://captain.' + item.value.env.CAPROVER_ROOT_DOMAIN"
/>
<IconActionBtn icon="mdi-cog" tooltip="Manage Workers" @click="dialog = item.value.deploymentName" />

Expand All @@ -85,7 +85,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.PEERTUBE_WEBSERVER_HOSTNAME"
:href="'https://' + item.value.env.PEERTUBE_WEBSERVER_HOSTNAME"
/>
</template>

Expand All @@ -99,7 +99,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.FUNKWHALE_HOSTNAME"
:href="'https://' + item.value.env.FUNKWHALE_HOSTNAME"
/>
</template>

Expand All @@ -113,13 +113,13 @@
tooltip="Admin Panel"
color="anchor"
icon="mdi-view-dashboard"
:href="'http://' + item.value[0].env.DOMAIN_NAME + '/admin/'"
:href="'http://' + item.value.env.DOMAIN_NAME + '/admin/'"
/>
<IconActionBtn
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DOMAIN_NAME"
:href="'https://' + item.value.env.DOMAIN_NAME"
/>
</template>

Expand All @@ -137,7 +137,7 @@
icon="mdi-eye-outline"
@click="openDialog(tabs[activeTab].value, item)"
/>
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="item.value[0].env.SITE_URL" />
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="item.value.env.SITE_URL" />
</template>

<template #Discourse-actions="{ item }">
Expand All @@ -150,7 +150,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DISCOURSE_HOSTNAME"
:href="'https://' + item.value.env.DISCOURSE_HOSTNAME"
/>
</template>

Expand All @@ -164,7 +164,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.DIGITALTWIN_APPID"
:href="'https://' + item.value.env.DIGITALTWIN_APPID"
/>
</template>

Expand All @@ -178,7 +178,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.CASPERLABS_HOSTNAME"
:href="'https://' + item.value.env.CASPERLABS_HOSTNAME"
/>
</template>

Expand All @@ -192,7 +192,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.OWNCLOUD_DOMAIN"
:href="'https://' + item.value.env.OWNCLOUD_DOMAIN"
/>
</template>

Expand All @@ -206,13 +206,13 @@
tooltip="Open Nextcloud"
color="anchor"
icon="mdi-web"
:href="'https://' + item.value[0].env.NEXTCLOUD_DOMAIN"
:href="'https://' + item.value.env.NEXTCLOUD_DOMAIN"
/>
<IconActionBtn
tooltip="Nextcloud Setup"
color="anchor"
icon="mdi-view-dashboard"
:href="'https://' + item.value[0].env.NEXTCLOUD_AIO_LINK"
:href="'https://' + item.value.env.NEXTCLOUD_AIO_LINK"
/>
</template>

Expand All @@ -226,7 +226,7 @@
tooltip="Visit"
icon="mdi-web"
color="anchor"
:href="'https://' + item.value[0].env.SUBSQUID_WEBSERVER_HOSTNAME + '/graphql'"
:href="'https://' + item.value.env.SUBSQUID_WEBSERVER_HOSTNAME + '/graphql'"
/>
</template>

Expand Down Expand Up @@ -284,12 +284,12 @@
icon="mdi-eye-outline"
@click="openDialog(tabs[activeTab].value, item)"
/>
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="'https://' + item.value[0].env.WP_URL" />
<IconActionBtn tooltip="Visit" color="anchor" icon="mdi-web" :href="'https://' + item.value.env.WP_URL" />
<IconActionBtn
tooltip="Admin Panel"
color="anchor"
icon="mdi-view-dashboard"
:href="'https://' + item.value[0].env.WP_URL + '/wp-admin'"
:href="'https://' + item.value.env.WP_URL + '/wp-admin'"
/>
</template>
</VmDeploymentTable>
Expand Down
Loading