Merge remote-tracking branch 'origin/prod'
commit
7031e1d6d4
|
@ -293,19 +293,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import FetchPricing from '@/service/PricingService';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
pricing: null
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
FetchPricing().then((data) => {
|
||||
this.pricing = data;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
isDarkTheme() {
|
||||
return this.$appState.darkTheme === true;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
async function fetchPricing() {
|
||||
try {
|
||||
const response = await fetch('https://www.primefaces.org/cdn/pricing/uikit.json', { cache: 'no-store' });
|
||||
|
||||
return response.json();
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default fetchPricing;
|
Loading…
Reference in New Issue