diff --git a/Layout/default/VueViews/WorkorderCompanyPWA.php b/Layout/default/VueViews/WorkorderCompanyPWA.php index edf027ab9..ff6d04bdd 100644 --- a/Layout/default/VueViews/WorkorderCompanyPWA.php +++ b/Layout/default/VueViews/WorkorderCompanyPWA.php @@ -63,6 +63,14 @@ .fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease-in-out; } .fade-enter-from, .fade-leave-to { opacity: 0; } + + @keyframes spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } + } + .spin { animation: spin 1s linear infinite; } + + body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@@ -409,6 +417,12 @@ isStandalone.value = window.matchMedia('(display-mode: standalone)').matches; }); + watch(isFcpSelectOpen, (isOpen) => { + if (!isOpen) { + fcpSearchTerm.value = ''; + } + }); + // Lock body scroll when any modal is open watch([isDetailsPanelOpen, isFcpSelectOpen, uploadModal, problemModal, fullscreenViewer, installModal], ([details, fcp, upload, problem, viewer, install]) => { const isAnyModalOpen = details || fcp || upload.show || problem.show || viewer.show || install.show; @@ -423,7 +437,7 @@ isLoading, isDetailsLoading, filteredWorkorders, searchTerm, isDetailsPanelOpen, selectedWorkorder, documentation, tenantConfig, tempAdditionalInfo, isEditingInfo, newJournalEntry, uploadModal, problemModal, isUploading, isChecklistComplete, checklist, fullscreenViewer, missingTasksPopover, translatedDocs, filteredJournals, installModal, isStandalone, - selectedFcp, isFcpSelectOpen, fcpOptions, selectedFcpText, fcpSearchTerm, filteredFcpOptions, + selectedFcp, isFcpSelectOpen, fcpOptions, selectedFcpText, fcpSearchTerm, filteredFcpOptions, fetchWorkorders, openDetails, closeDetails, getStatusInfo, formatDate, googleMapsLink, startEditInfo, saveAdditionalInfo, handleFileSelect, executeUpload, addJournalEntry, submitProblem, handleCompleteClick, selectFcp }; @@ -443,7 +457,7 @@ App installieren @@ -626,11 +640,11 @@Keine Dokumenttypen konfiguriert.
+