Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6d850d19

Přidáno uživatelem Jan Pašek před asi 4 roky(ů)

Re #8583 Certificate creation - creation success alert using Bootstrap

Zobrazit rozdíly:

static/js/index.js
4 4
        el: "#certificateListingPage",
5 5
        data: {
6 6
            // list of all certificates to be displayed in the list
7
            certificates: []
7
            certificates: [],
8
            successMessage: ''
9
        },
10
        mounted: function () {
11
            const params = window.location.search;
12
            if (params !== "") {
13
                const urlParams = new URLSearchParams(params);
14
                if (urlParams.get("success") != null) this.successMessage = urlParams.get("success");
15
            }
8 16
        }
9 17
    });
10 18

  

Také k dispozici: Unified diff