mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-29 18:35:19 +08:00
refactor: CB-2288 manifests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* CloudBeaver - Cloud Database Manager
|
||||
* Copyright (C) 2020-2022 DBeaver Corp and others
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0.
|
||||
* you may not use this file except in compliance with the License.
|
||||
*/
|
||||
|
||||
import { injectable } from '@cloudbeaver/core-di';
|
||||
|
||||
import { CookiesSettingsService } from './CookiesSettingsService';
|
||||
|
||||
@injectable()
|
||||
export class CookiesService {
|
||||
get cookiesEnabled() {
|
||||
return !this.cookiesSettingsService.settings.getValue('disabled');
|
||||
}
|
||||
|
||||
constructor(private readonly cookiesSettingsService: CookiesSettingsService) {}
|
||||
}
|
||||
Reference in New Issue
Block a user