Skip to content

Commit 88849e6

Browse files
fix: Fix the issue where the directory can still be modified while editing the runtime environment. (#12537)
1 parent d6bbcdc commit 88849e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • frontend/src/views/website/runtime/components/dir

frontend/src/views/website/runtime/components/dir/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<template #prepend>
55
<el-button
66
icon="Folder"
7+
:disabled="mode === 'edit'"
78
@click="fileRef.acceptParams({ path: runtime.codeDir, dir: true, disabled: mode === 'edit' })"
89
/>
910
</template>

0 commit comments

Comments
 (0)