hide preview yaml button on edit

rancher/dashboard#966
This commit is contained in:
Westly Wright 2020-08-21 10:36:34 -07:00
parent c2168f8951
commit d35b83c85c
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ export default {
<template #default>
<div>
<button
v-if="canYaml && (selectedSubtype || !subtypes.length)"
v-if="!isEdit && canYaml && (selectedSubtype || !subtypes.length)"
type="button"
class="btn role-secondary"
@click="showPreviewYaml"