File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
ui/src/views/function-lib Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 115115 <div class =" footer-content flex-between" >
116116 <div >
117117 <el-tooltip effect =" dark" :content =" $t('common.copy')" placement =" top" >
118- <el-button text @click.stop =" copyFunctionLib(item)" >
118+ <el-button text @click.stop =" copyFunctionLib(item)"
119+ :disabled =" item.permission_type === 'PUBLIC' && !canEdit(item)"
120+ >
119121 <AppIcon iconName =" app-copy" ></AppIcon >
120122 </el-button >
121123 </el-tooltip >
122124 <el-divider direction =" vertical" />
123125 <el-tooltip effect =" dark" :content =" $t('common.export')" placement =" top" >
124- <el-button text @click.stop =" exportFunctionLib(item)" >
126+ <el-button text @click.stop =" exportFunctionLib(item)"
127+ :disabled =" item.permission_type === 'PUBLIC' && !canEdit(item)"
128+ >
125129 <AppIcon iconName =" app-export" ></AppIcon >
126130 </el-button >
127131 </el-tooltip >
You can’t perform that action at this time.
0 commit comments