don't include tab state in saved layouts

This commit is contained in:
Eugene Pankov
2022-01-10 20:39:29 +01:00
parent 3a11b51729
commit 61c11abda2
15 changed files with 38 additions and 82 deletions

View File

@@ -44,7 +44,7 @@ export class SplitLayoutProfilesService extends ProfileProvider<SplitLayoutProfi
}
async createProfile (tab: SplitTabComponent, name: string): Promise<void> {
const token = await tab.getRecoveryToken()
const token = await tab.getRecoveryToken({ includeState: false })
const profile: PartialProfile<SplitLayoutProfile> = {
id: `${this.id}:custom:${slugify(name)}:${uuidv4()}`,
type: this.id,