Refactor FormPiyangoCekilisTutanagiDisplay.vue by removing the conditional rendering for panel user visibility on the add document button. Simplify imports by eliminating unused references, enhancing code clarity and maintainability.

This commit is contained in:
burakovec
2026-04-10 08:04:46 +03:00
parent 70f2391b7e
commit 780653bf83

View File

@ -4,7 +4,6 @@
<h4>Çekiliş Tutanağı</h4>
<div class="form-part-title-buttons">
<icon-button
v-if="usersStore.isPanelUser"
icon="plus"
class="ico-section ico-section-header-btn"
@click="AddNewDocument" />
@ -53,7 +52,7 @@
</panel-wrapper>
</template>
<script setup lang="ts">
import { ref, onBeforeMount } from 'vue'
import { onBeforeMount } from 'vue'
import PanelPiyangoCekilisTutanagi from '../panel/PanelPiyangoCekilisTutanagi.vue'
import PanelWrapper from '@/components/PanelWrapper.vue'