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:
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user