From 825d2cadee4ddf34d0dde8c278fc8e8a99e95b95 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 18:17:07 +0000
Subject: Add export modal

---
 components/loader/LoaderImportButton.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'components/loader/LoaderImportButton.vue')

diff --git a/components/loader/LoaderImportButton.vue b/components/loader/LoaderImportButton.vue
index 48bcb8d..ff6d0ad 100644
--- a/components/loader/LoaderImportButton.vue
+++ b/components/loader/LoaderImportButton.vue
@@ -1,9 +1,14 @@
 <script setup lang="ts">
+defineProps({
+  isPrimaryAction: Boolean
+})
+
 const navigateToImport = async () => {
   navigateTo('/import');
 }
 </script>
 
 <template>
-  <Button type="solid" :icon="['fas', 'file-import']" label="Import" @click="navigateToImport" />
+  <Button :type="isPrimaryAction ? 'solid' : 'text'" :icon="['fas', 'file-import']" label="Import"
+    @click="navigateToImport" />
 </template>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

