Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/settings/lib/Controller/AppSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public function viewApps(): TemplateResponse {

$this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true));
$this->initialState->provideInitialState('appstoreBundles', $this->getBundles());
$this->initialState->provideInitialState('appstoreDeveloperDocs', $this->urlGenerator->linkToDocs('developer-manual'));
$this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates()));

if ($this->appManager->isEnabledForAnyone('app_api')) {
Expand Down
1 change: 0 additions & 1 deletion apps/settings/src/views/AppStoreNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
import APPSTORE_CATEGORY_ICONS from '../constants/AppstoreCategoryIcons.ts'

const appstoreEnabled = loadState<boolean>('settings', 'appstoreEnabled', true)
const developerDocsUrl = loadState<string>('settings', 'appstoreDeveloperDocs', '')

const store = useAppsStore()
const categories = computed(() => store.categories)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function testViewApps(): void {
->with('core_apps');

$this->initialState
->expects($this->exactly(4))
->expects($this->exactly(3))
->method('provideInitialState');

$policy = new ContentSecurityPolicy();
Expand Down Expand Up @@ -204,7 +204,7 @@ public function testViewAppsAppstoreNotEnabled(): void {
->with('core_apps');

$this->initialState
->expects($this->exactly(4))
->expects($this->exactly(3))
->method('provideInitialState');

$policy = new ContentSecurityPolicy();
Expand Down
Loading