Skip to content

Commit 6848fcc

Browse files
authored
FIX: disabled devnet (#2135)
1 parent 03bf5c3 commit 6848fcc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

launcher/public/output.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4327,6 +4327,11 @@ video {
43274327
background-color: rgb(63 63 70 / var(--tw-bg-opacity));
43284328
}
43294329

4330+
.bg-teal-900{
4331+
--tw-bg-opacity: 1;
4332+
background-color: rgb(19 78 74 / var(--tw-bg-opacity));
4333+
}
4334+
43304335
.bg-opacity-80{
43314336
--tw-bg-opacity: 0.8;
43324337
}

launcher/src/components/UI/edit-page/components/drawer/SetupsDrawer.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
</div>
2626

2727
<div
28-
class="col-start-1 col-span-full row-start-14 row-span-full w-full h-full bg-[#151618] rounded-md flex flex-col justify-between items-center p-1 shadow-sm shadow-black active:shadow-none border border-gray-700"
28+
class="col-start-1 col-span-full row-start-14 row-span-full w-full h-full bg-[#151618] rounded-md flex flex-col justify-between items-center p-1 shadow-sm shadow-black border border-gray-700"
2929
>
3030
<span class="text-2xs text-center text-gray-100 font-semibold font-sans uppercase mt-1">Custom Network</span>
3131

3232
<div
3333
class="w-full h-8 bg-teal-700 rounded-sm text-center p-1 cursor-pointer hover:bg-teal-900 transition-all duration-100"
34+
:class="{ 'cursor-not-allowed pointer-events-none opacity-40': isDisabled }"
3435
@click="createDevnet"
3536
>
3637
<span class="text-sm text-gray-200">Setup Devnet</span>
@@ -40,10 +41,12 @@
4041
</template>
4142

4243
<script setup>
44+
import { ref } from "vue";
4345
import { useNodeManage } from "../../../../../store/nodeManage";
4446
4547
const emit = defineEmits(["getNetwork", "createDevnet"]);
4648
const manageStore = useNodeManage();
49+
const isDisabled = ref(true);
4750
4851
const getNetwork = (network) => {
4952
emit("getNetwork", network);

0 commit comments

Comments
 (0)