Merge remote-tracking branch 'origin/prod'

pull/4016/head
Cagatay Civici 2023-06-01 14:11:32 +03:00
commit 7031e1d6d4
2 changed files with 0 additions and 23 deletions

View File

@ -293,19 +293,7 @@
</template> </template>
<script> <script>
import FetchPricing from '@/service/PricingService';
export default { export default {
data() {
return {
pricing: null
};
},
mounted() {
FetchPricing().then((data) => {
this.pricing = data;
});
},
methods: { methods: {
isDarkTheme() { isDarkTheme() {
return this.$appState.darkTheme === true; return this.$appState.darkTheme === true;

View File

@ -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;