How can I move the position of the alert icon (centerNotification)

I try to override in CommunicationPanel the index property but it doesn’t work :

define("CommunicationPanel", ["terrasoft", "CommunicationPanelHelper"],
	function(Terrasoft, CommunicationPanelHelper) {
		return {
			messages: {},
			attributes: {},
			methods: {	},
			diff: [
				{
					"operation": "merge",
					"name": "centerNotification",
					"index":  1,				
				}

How can I change the position of the icon?

Like 1

Like

1 comments

Hello Grigoriy,

 

You can only move elements defined in the "diff" of the CommunicationPanel schema, for instance to move esnFeed use:

{

    "operation": "move",

    "parentName": "communicationPanelContent",

    "propertyName": "items",

    "name": "esnFeed",

    "index": 6

}

 

Best regards, 

Olga. 

Show all comments