@saooti/octopus-sdk 38.0.14 → 38.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "38.0.14",
3
+ "version": "38.0.15",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -91,7 +91,7 @@ export default defineComponent({
91
91
  computed: {
92
92
  editRight(): boolean {
93
93
  return (
94
- (true === this.authenticated &&
94
+ (true === this.authenticated && true === state.generalParameters.isRadio &&
95
95
  this.myOrganisationId === this.radio?.organisationId) ||
96
96
  true === state.generalParameters.isAdmin
97
97
  );
@@ -12,6 +12,7 @@ const state: ParamStore = {
12
12
  isPlaylist: false,
13
13
  isProduction: false,
14
14
  isContribution: false,
15
+ isRadio: false,
15
16
  ApiUri: "https://api.preprod.saooti.org/",
16
17
  podcastmaker: false,
17
18
  buttonPlus: true,
@@ -101,6 +102,7 @@ export interface GeneralParameters {
101
102
  isPlaylist?: boolean;
102
103
  isProduction?: boolean;
103
104
  isContribution?: boolean;
105
+ isRadio?:boolean;
104
106
  ApiUri?: string;
105
107
  podcastmaker?: boolean;
106
108
  buttonPlus?: boolean;