Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
evandor committed Dec 3, 2024
1 parent 34caeb4 commit 7974c67
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 291 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
"@vue/test-utils": "^2.4.6",
"@wdio/cli": "^9.4.1",
"autoprefixer": "^10.4.20",
"canvas": "^2.11.2",
"editorjs-alert": "^1.1.4",
"editorjs-text-color-plugin": "^2.0.4",
"fake-indexeddb": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import {setCssVar, useQuasar} from "quasar";
import AppService from "src/app/AppService";
import {EventEmitter} from "events";
import {useRoute, useRouter} from "vue-router";
import {useRouter} from "vue-router";
import {useLogger} from "src/services/Logger";
import {useSettingsStore} from "stores/settingsStore";
import {useAppStore} from "stores/appStore";
Expand Down
6 changes: 2 additions & 4 deletions src/layouts/FullPageLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ import _ from "lodash";
import {useSpacesStore} from "src/spaces/stores/spacesStore"
import SpacesSelectorWidget from 'src/spaces/widgets/SpacesSelectorWidget.vue'
import {DrawerTabs, useUiStore} from "src/ui/stores/uiStore";
import NotificationDialog from "components/dialogues/NotificationDialog.vue"
import {Notification} from "src/core/models/Notification";
import {useUtils} from "src/core/services/Utils";
import DrawerRight from "components/DrawerRight.vue";
import {Suggestion, SuggestionState} from "src/suggestions/models/Suggestion";
Expand Down Expand Up @@ -238,7 +236,7 @@ watchEffect(() => {
})
watchEffect(() => {
spacesOptions.value = _.map([...spacesStore.spaces.keys()], key => {
spacesOptions.value = _.map([...spacesStore.spaces.keys()], (key:any) => {
const label = spacesStore.spaces.get(key)?.label || 'undef'
return {id: key, label: label}
})
Expand Down Expand Up @@ -289,7 +287,7 @@ const suggestionDialog = (s: Suggestion) => $q.dialog({
})
const dependingOnStates = () =>
_.find(useSuggestionsStore().getSuggestions([SuggestionState.NEW, SuggestionState.DECISION_DELAYED]), s => s.state === SuggestionState.NEW) ? 'warning' : 'white'
_.find(useSuggestionsStore().getSuggestions([SuggestionState.NEW, SuggestionState.DECISION_DELAYED]), (s:any) => s.state === SuggestionState.NEW) ? 'warning' : 'white'
const toggleSettings = () => settingsClicked.value = !settingsClicked.value
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SidePanelResearchPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@

<!-- place QPageSticky at end of page -->
<q-page-sticky expand position="top" class="darkInDarkMode brightInBrightMode">
<FirstToolbarHelper2 :title="'Project ' + useTabsetsStore().currentTabsetName || 'Bibbly'"/>
<FirstToolbarHelper2 :title="'Project ' + useTabsetsStore().currentTabsetName || 'Tabsets'"/>
</q-page-sticky>

</q-page>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/TabPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div class="col-12">
<div class="text-overline ellipsis">
{{ selectedTab?.url }}&nbsp;<q-icon name="launch" color="secondary"
@click.stop="NavigationService.openOrCreateTab([tab?.url || ''] )"></q-icon>
@click.stop="NavigationService.openOrCreateTab([selectedTab?.url || ''] )"></q-icon>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/requests
Loading

0 comments on commit 7974c67

Please sign in to comment.